neovim now managed by nvf, and flake lock
This commit is contained in:
26
modules/home/programs/vscode/default.nix
Normal file
26
modules/home/programs/vscode/default.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
cfg = config.home.programs.vscode;
|
||||
in {
|
||||
options = {
|
||||
home.programs.vscode.enable = mkEnableOption "Enables vscode";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
programs.vscode = {
|
||||
enable = true;
|
||||
package = pkgs.vscodium;
|
||||
extensions = with pkgs.vscode-extensions; [
|
||||
sainnhe.gruvbox-material
|
||||
vscodevim.vim
|
||||
rust-lang.rust-analyzer
|
||||
kamadorueda.alejandra
|
||||
arrterian.nix-env-selector
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user