added python extension in vscode

This commit is contained in:
Kristian Krsnik 2023-08-02 16:29:58 +02:00
parent ca4a8a1b48
commit 813fc04319
2 changed files with 11 additions and 2 deletions

View File

@ -46,7 +46,10 @@
yt-dlp.enable = true; yt-dlp.enable = true;
bash = import ./bash.nix {enable = true;}; bash = import ./bash.nix {enable = true;};
vscode = import ./vscode.nix {enable = true;}; vscode = import ./vscode.nix {
enable = true;
inherit pkgs;
};
git = import ./git.nix {enable = true;}; git = import ./git.nix {enable = true;};
thunderbird = import ./thunderbird.nix {enable = true;}; thunderbird = import ./thunderbird.nix {enable = true;};

View File

@ -1,4 +1,7 @@
{enable}: { {
enable,
pkgs,
}: {
inherit enable; inherit enable;
enableUpdateCheck = false; enableUpdateCheck = false;
keybindings = [ keybindings = [
@ -8,4 +11,7 @@
when = "editorTextFocus && !editorReadonly"; when = "editorTextFocus && !editorReadonly";
} }
]; ];
extensions = with pkgs.vscode-extensions; [
ms-python.python
];
} }