diff --git a/programs/editors/default.nix b/programs/editors/default.nix index e034b07f..d3174098 100644 --- a/programs/editors/default.nix +++ b/programs/editors/default.nix @@ -1,5 +1,6 @@ -_: { +{config, ...}: { imports = [ ./nvim ]; + home-manager.users.darkkirb.imports = if config.isGraphical then [./vscode] else []; } diff --git a/programs/editors/vscode/default.nix b/programs/editors/vscode/default.nix new file mode 100644 index 00000000..35a3637d --- /dev/null +++ b/programs/editors/vscode/default.nix @@ -0,0 +1,8 @@ +{...}: { + programs.vscode = { + enable = true; + enableExtensionUpdateCheck = false; + enableUpdateCheck = false; + mutableExtensionsDir = false; + }; +}