diff --git a/nixos/boxes/foryog/default.nix b/nixos/boxes/foryog/default.nix index 793943dd..64b921bc 100644 --- a/nixos/boxes/foryog/default.nix +++ b/nixos/boxes/foryog/default.nix @@ -21,6 +21,7 @@ ../../sdr.nix ../../vim ../../zsh + ../../gui/vscode ]; fileSystems."/" = {options = ["compress=zstd"];}; @@ -77,7 +78,6 @@ imports = [ ../../home-manager/programs/kitty.nix ../../home-manager/programs/helix.nix - ../../gui/vscode.nix ]; home.packages = with inputs.nixpkgs-nixos-unstable.legacyPackages."x86_64-linux"; [bisq-desktop] diff --git a/nixos/gui/vscode/default.nix b/nixos/gui/vscode/default.nix new file mode 100644 index 00000000..67805710 --- /dev/null +++ b/nixos/gui/vscode/default.nix @@ -0,0 +1,7 @@ +{pkgs, ...}: { + services.udev.packages = [ + pkgs.platformio + pkgs.openocd + ]; + home-manager.users.cyryl = {...}: {imports = [./home.nix];}; +} diff --git a/nixos/gui/vscode.nix b/nixos/gui/vscode/home.nix similarity index 94% rename from nixos/gui/vscode.nix rename to nixos/gui/vscode/home.nix index d3f4f6cc..d3d9fc6d 100644 --- a/nixos/gui/vscode.nix +++ b/nixos/gui/vscode/home.nix @@ -25,6 +25,18 @@ }) ] ++ vscode-utils.extensionsFromVscodeMarketplace [ + { + publisher = "vscodevim"; + name = "vim"; + version = "1.25.2"; + sha256 = "sha256-hy2Ks6oRc9io6vfgql9aFGjUiRzBCS4mGdDO3NqIFEg="; + } + { + publisher = "platformio"; + name = "platformio-ide"; + version = "3.3.1"; + sha256 = "sha256-zBZFpOWJ4JEv6qu9XT1u0uspZ+N2wKrpL3joC+/t/zs="; + } { publisher = "bierner"; name = "markdown-mermaid"; @@ -37,12 +49,6 @@ version = "1.0.9"; sha256 = "sha256-TkxqWZ8X+PAonzeXQ+sI9WI+XlqUHll7YyM7N9uErk0="; } - { - publisher = "vscodevim"; - name = "vim"; - version = "1.21.7"; - sha256 = "sha256-nCcDafZ2CUhTjVha+6Mjxoil61xMGboO5lajc7dGEJg="; - } { publisher = "bbenoist"; name = "nix";