diff --git a/home/default.nix b/home/default.nix index 6b54e22..db3af1d 100644 --- a/home/default.nix +++ b/home/default.nix @@ -46,7 +46,10 @@ yt-dlp.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;}; thunderbird = import ./thunderbird.nix {enable = true;}; diff --git a/home/vscode.nix b/home/vscode.nix index 42b5462..44ddfb5 100644 --- a/home/vscode.nix +++ b/home/vscode.nix @@ -1,4 +1,7 @@ -{enable}: { +{ + enable, + pkgs, +}: { inherit enable; enableUpdateCheck = false; keybindings = [ @@ -8,4 +11,7 @@ when = "editorTextFocus && !editorReadonly"; } ]; + extensions = with pkgs.vscode-extensions; [ + ms-python.python + ]; }