chore: move vscodium to vscode config
This commit is contained in:
parent
6dc1eeb377
commit
9764f12177
5 changed files with 20 additions and 12 deletions
|
@ -4,5 +4,6 @@
|
||||||
./ssh
|
./ssh
|
||||||
./hypridle
|
./hypridle
|
||||||
./hyprland
|
./hyprland
|
||||||
|
./vscode
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
17
home/vscode/default.nix
Normal file
17
home/vscode/default.nix
Normal 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
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
|
@ -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
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -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 = {
|
||||||
|
|
|
@ -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
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Reference in a new issue