From e7138e3cf5d215be360e057ba2deaab538708d74 Mon Sep 17 00:00:00 2001 From: Quinn Unger Date: Tue, 10 Jun 2025 15:35:58 +0100 Subject: [PATCH] vscodium: add pcap viewer --- config/graphical/optional/vscodium.nix | 7 ++++--- config/headless/core/configuration.nix | 4 ++-- flake.lock | 18 +++++++++--------- 3 files changed, 15 insertions(+), 14 deletions(-) diff --git a/config/graphical/optional/vscodium.nix b/config/graphical/optional/vscodium.nix index 1ba0acb..4ca7abe 100644 --- a/config/graphical/optional/vscodium.nix +++ b/config/graphical/optional/vscodium.nix @@ -60,9 +60,7 @@ in catppuccin.catppuccin-vsc-icons christian-kohler.path-intellisense yandeu.five-server - #hankhsu1996.better-systemverilog-syntax - #chipsalliance.verible - #bmpenuelas.systemverilog-formatter-vscode + sankooc.pcapviewer mshr-h.veriloghdl ]; userSettings = @@ -75,6 +73,9 @@ in { "workbench.iconTheme" = "catppuccin-${theme.flavor}"; # remove when 25.05 is stable "workbench.colorTheme" = "Catppuccin ${cfg.lib.capitalize theme.flavor}"; # remove when 25.05 is stable + "workbench.editorAssociations" = { + "*.pcap" = "proto.pcapng"; + }; "typescript.suggest.paths" = false; "javascript.suggest.paths" = false; "nix.enableLanguageServer" = true; diff --git a/config/headless/core/configuration.nix b/config/headless/core/configuration.nix index 1520c92..2dcacc7 100644 --- a/config/headless/core/configuration.nix +++ b/config/headless/core/configuration.nix @@ -17,8 +17,8 @@ in networking.hostName = cfg.hostName; - # https://github.com/NixOS/nixpkgs/issues/389928 - system.switch.enableNg = false; + # https://github.com/NixOS/nixpkgs/issues/343975 + # system.switch.enableNg = false; nix.gc.automatic = true; nix.settings.auto-optimise-store = true; diff --git a/flake.lock b/flake.lock index b7bf82e..4be744f 100644 --- a/flake.lock +++ b/flake.lock @@ -396,11 +396,11 @@ ] }, "locked": { - "lastModified": 1749435098, - "narHash": "sha256-8U85+jkZGjQs0YZ4ryuIvPEjIY905AueoTqm104lUSU=", + "lastModified": 1749521246, + "narHash": "sha256-DfEntGtcKJtY+P8TB+sbl7ZJWl3Zeo0vo37243CfXMQ=", "owner": "Infinidoge", "repo": "nix-minecraft", - "rev": "8f383663f62afaaa79aec68a076c092da80f706f", + "rev": "549f7c2c7b5869e954e1467f089363c2d9c21031", "type": "github" }, "original": { @@ -415,11 +415,11 @@ "nixpkgs": "nixpkgs_2" }, "locked": { - "lastModified": 1749434933, - "narHash": "sha256-2udCN6acwM4catZDyh5d7pc6UEMB+UHZ48JH7505pTk=", + "lastModified": 1749521131, + "narHash": "sha256-ezZ15tLA2L+rmtn39dKLFW/UM2xlksC61V12blulpjE=", "owner": "nix-community", "repo": "nix-vscode-extensions", - "rev": "cad31acd5498943c472f21795b27550df647f00b", + "rev": "299b2aa650d32310153746135b6a84a6c4de9c21", "type": "github" }, "original": { @@ -507,11 +507,11 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1749237914, - "narHash": "sha256-N5waoqWt8aMr/MykZjSErOokYH6rOsMMXu3UOVH5kiw=", + "lastModified": 1749494155, + "narHash": "sha256-FG4DEYBpROupu758beabUk9lhrblSf5hnv84v1TLqMc=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "70c74b02eac46f4e4aa071e45a6189ce0f6d9265", + "rev": "88331c17ba434359491e8d5889cce872464052c2", "type": "github" }, "original": { -- knotmirror 0.0.1