mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 03:29:45 +01: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 {
|
||||
programs.vscode = {
|
||||
enable = true;
|
||||
defaultProfile.keybindings = bindings;
|
||||
profiles = [{
|
||||
name = "test";
|
||||
keybindings = bindings;
|
||||
}];
|
||||
package = pkgs.writeScriptBin "vscode" "" // { pname = "vscode"; };
|
||||
profiles = {
|
||||
default.keybindings = bindings;
|
||||
test.keybindings = bindings;
|
||||
};
|
||||
package = pkgs.writeScriptBin "vscode" "" // {
|
||||
pname = "vscode";
|
||||
version = "1.75.0";
|
||||
};
|
||||
};
|
||||
|
||||
nmt.script = ''
|
||||
|
|
|
@ -66,9 +66,14 @@ let
|
|||
in {
|
||||
programs.vscode = {
|
||||
enable = true;
|
||||
package = pkgs.writeScriptBin "vscode" "" // { pname = "vscode"; };
|
||||
defaultProfile = snippets;
|
||||
profiles = [ ({ name = "test"; } // snippets) ];
|
||||
package = pkgs.writeScriptBin "vscode" "" // {
|
||||
pname = "vscode";
|
||||
version = "1.75.0";
|
||||
};
|
||||
profiles = {
|
||||
default = snippets;
|
||||
test = snippets;
|
||||
};
|
||||
};
|
||||
|
||||
nmt.script = ''
|
||||
|
|
|
@ -37,12 +37,14 @@ let
|
|||
in {
|
||||
programs.vscode = {
|
||||
enable = true;
|
||||
package = pkgs.writeScriptBin "vscode" "" // { pname = "vscode"; };
|
||||
defaultProfile.userTasks = tasks;
|
||||
profiles = [{
|
||||
name = "test";
|
||||
userTasks = tasks;
|
||||
}];
|
||||
package = pkgs.writeScriptBin "vscode" "" // {
|
||||
pname = "vscode";
|
||||
version = "1.75.0";
|
||||
};
|
||||
profiles = {
|
||||
default.userTasks = tasks;
|
||||
test.userTasks = tasks;
|
||||
};
|
||||
};
|
||||
|
||||
nmt.script = ''
|
||||
|
|
|
@ -17,9 +17,14 @@ let
|
|||
in {
|
||||
programs.vscode = {
|
||||
enable = true;
|
||||
package = pkgs.writeScriptBin "vscode" "" // { pname = "vscode"; };
|
||||
enableUpdateCheck = false;
|
||||
enableExtensionUpdateCheck = false;
|
||||
package = pkgs.writeScriptBin "vscode" "" // {
|
||||
pname = "vscode";
|
||||
version = "1.75.0";
|
||||
};
|
||||
profiles.default = {
|
||||
enableUpdateCheck = false;
|
||||
enableExtensionUpdateCheck = false;
|
||||
};
|
||||
};
|
||||
|
||||
nmt.script = ''
|
||||
|
|
Loading…
Reference in a new issue