added vscode module

This commit is contained in:
John Lancaster
2025-07-04 01:11:18 -05:00
parent 4f98e6a0e8
commit 773190f6c8
2 changed files with 25 additions and 0 deletions

View File

@@ -7,6 +7,7 @@
./homeManagerModules/shell.nix ./homeManagerModules/shell.nix
./homeManagerModules/ssh.nix ./homeManagerModules/ssh.nix
./homeManagerModules/docker.nix ./homeManagerModules/docker.nix
./homeManagerModules/vscode.nix
]; ];
# Home Manager needs a bit of information about you and the paths it should # Home Manager needs a bit of information about you and the paths it should
# manage. # manage.
@@ -32,6 +33,11 @@
# # parentheses. Maybe you want to install Nerd Fonts with a limited number of # # parentheses. Maybe you want to install Nerd Fonts with a limited number of
# # fonts? # # fonts?
# (pkgs.nerdfonts.override { fonts = [ "FantasqueSansMono" ]; }) # (pkgs.nerdfonts.override { fonts = [ "FantasqueSansMono" ]; })
] ++ lib.optionals config.graphical [
discord
spotify
sublime4
joplin-desktop
]; ];
# Home Manager can also manage your environment variables through # Home Manager can also manage your environment variables through

View File

@@ -0,0 +1,19 @@
{ config, lib, pkgs, ... }:
{
programs.vscode = lib.mkIf config.graphical {
enable = true;
package = pkgs.vscode;
profiles.default.extensions = with pkgs.vscode-extensions; [
mhutchie.git-graph
ms-vscode-remote.vscode-remote-extensionpack
ms-python.python
ms-python.vscode-pylance
ms-toolsai.jupyter
charliermarsh.ruff
github.vscode-pull-request-github
github.vscode-github-actions
github.copilot
catppuccin.catppuccin-vsc
];
};
}