mirror of
https://github.com/nix-community/home-manager.git
synced 2024-12-14 11:57:55 +00:00
tests: modify vscode tests
Signed-off-by: Reputable2722 <153411261+Reputable2772@users.noreply.github.com>
This commit is contained in:
parent
dfb6f04bb5
commit
355e80d420
4 changed files with 32 additions and 18 deletions
|
@ -75,12 +75,14 @@ let
|
||||||
in {
|
in {
|
||||||
programs.vscode = {
|
programs.vscode = {
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultProfile.keybindings = bindings;
|
profiles = {
|
||||||
profiles = [{
|
default.keybindings = bindings;
|
||||||
name = "test";
|
test.keybindings = bindings;
|
||||||
keybindings = bindings;
|
};
|
||||||
}];
|
package = pkgs.writeScriptBin "vscode" "" // {
|
||||||
package = pkgs.writeScriptBin "vscode" "" // { pname = "vscode"; };
|
pname = "vscode";
|
||||||
|
version = "1.75.0";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
nmt.script = ''
|
nmt.script = ''
|
||||||
|
|
|
@ -66,9 +66,14 @@ let
|
||||||
in {
|
in {
|
||||||
programs.vscode = {
|
programs.vscode = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.writeScriptBin "vscode" "" // { pname = "vscode"; };
|
package = pkgs.writeScriptBin "vscode" "" // {
|
||||||
defaultProfile = snippets;
|
pname = "vscode";
|
||||||
profiles = [ ({ name = "test"; } // snippets) ];
|
version = "1.75.0";
|
||||||
|
};
|
||||||
|
profiles = {
|
||||||
|
default = snippets;
|
||||||
|
test = snippets;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
nmt.script = ''
|
nmt.script = ''
|
||||||
|
|
|
@ -37,12 +37,14 @@ let
|
||||||
in {
|
in {
|
||||||
programs.vscode = {
|
programs.vscode = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.writeScriptBin "vscode" "" // { pname = "vscode"; };
|
package = pkgs.writeScriptBin "vscode" "" // {
|
||||||
defaultProfile.userTasks = tasks;
|
pname = "vscode";
|
||||||
profiles = [{
|
version = "1.75.0";
|
||||||
name = "test";
|
};
|
||||||
userTasks = tasks;
|
profiles = {
|
||||||
}];
|
default.userTasks = tasks;
|
||||||
|
test.userTasks = tasks;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
nmt.script = ''
|
nmt.script = ''
|
||||||
|
|
|
@ -17,9 +17,14 @@ let
|
||||||
in {
|
in {
|
||||||
programs.vscode = {
|
programs.vscode = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.writeScriptBin "vscode" "" // { pname = "vscode"; };
|
package = pkgs.writeScriptBin "vscode" "" // {
|
||||||
enableUpdateCheck = false;
|
pname = "vscode";
|
||||||
enableExtensionUpdateCheck = false;
|
version = "1.75.0";
|
||||||
|
};
|
||||||
|
profiles.default = {
|
||||||
|
enableUpdateCheck = false;
|
||||||
|
enableExtensionUpdateCheck = false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
nmt.script = ''
|
nmt.script = ''
|
||||||
|
|
Loading…
Reference in a new issue