diff --git a/home/default.nix b/home/default.nix index 3da294d..d7eddbf 100644 --- a/home/default.nix +++ b/home/default.nix @@ -4,5 +4,6 @@ ./ssh ./hypridle ./hyprland + ./vscode ]; } diff --git a/home/vscode/default.nix b/home/vscode/default.nix new file mode 100644 index 0000000..c73df34 --- /dev/null +++ b/home/vscode/default.nix @@ -0,0 +1,17 @@ +{ + lib, + config, + pkgs, + ... +}: +lib.mkIf config.programs.vscode.enable { + programs.vscode = { + package = pkgs.vscodium; + enableUpdateCheck = false; + extensions = with pkgs.vscode-extensions; [ + rust-lang.rust-analyzer + #ms-vscode.atom-keybindings + #akamud.vscode-theme-onedark + ]; + }; +} diff --git a/home/vscodium/default.nix b/home/vscodium/default.nix deleted file mode 100644 index e06813f..0000000 --- a/home/vscodium/default.nix +++ /dev/null @@ -1,11 +0,0 @@ -{ pkgs, ... }: -{ - programs.vscode = { - enable = true; - package = pkgs.vscodium; - extensions = with pkgs.vscode-extensions; [ - rust-lang.rust-analyzer - yzhang.markdown-all-in-one - ]; - }; -} diff --git a/hosts/brontes/home.nix b/hosts/brontes/home.nix index 9c1bb0f..0b876c6 100644 --- a/hosts/brontes/home.nix +++ b/hosts/brontes/home.nix @@ -26,6 +26,8 @@ nix-direnv.enable = true; }; + programs.vscode.enable = true; + services.blueman-applet.enable = true; home = { diff --git a/hosts/marr/home.nix b/hosts/marr/home.nix index c1f083f..51b86f5 100644 --- a/hosts/marr/home.nix +++ b/hosts/marr/home.nix @@ -14,7 +14,6 @@ ../../home/rofi ../../home/thunderbird ../../home/git - ../../home/vscodium ../../home/themes/catppuccin.nix ../../home ];