add vscode
This commit is contained in:
parent
322e21f3f9
commit
6149476222
2 changed files with 10 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
||||||
_: {
|
{config, ...}: {
|
||||||
imports = [
|
imports = [
|
||||||
./nvim
|
./nvim
|
||||||
];
|
];
|
||||||
|
home-manager.users.darkkirb.imports = if config.isGraphical then [./vscode] else [];
|
||||||
}
|
}
|
||||||
|
|
8
programs/editors/vscode/default.nix
Normal file
8
programs/editors/vscode/default.nix
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{...}: {
|
||||||
|
programs.vscode = {
|
||||||
|
enable = true;
|
||||||
|
enableExtensionUpdateCheck = false;
|
||||||
|
enableUpdateCheck = false;
|
||||||
|
mutableExtensionsDir = false;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue