chore: move vscodium to vscode config

This commit is contained in:
Nydragon 2024-07-17 00:40:06 +02:00
parent 6dc1eeb377
commit 9764f12177
5 changed files with 20 additions and 12 deletions

View file

@ -4,5 +4,6 @@
./ssh ./ssh
./hypridle ./hypridle
./hyprland ./hyprland
./vscode
]; ];
} }

17
home/vscode/default.nix Normal file
View file

@ -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
];
};
}

View file

@ -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
];
};
}

View file

@ -26,6 +26,8 @@
nix-direnv.enable = true; nix-direnv.enable = true;
}; };
programs.vscode.enable = true;
services.blueman-applet.enable = true; services.blueman-applet.enable = true;
home = { home = {

View file

@ -14,7 +14,6 @@
../../home/rofi ../../home/rofi
../../home/thunderbird ../../home/thunderbird
../../home/git ../../home/git
../../home/vscodium
../../home/themes/catppuccin.nix ../../home/themes/catppuccin.nix
../../home ../../home
]; ];