added vscode module
This commit is contained in:
6
home.nix
6
home.nix
@@ -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
|
||||||
|
|||||||
19
homeManagerModules/vscode.nix
Normal file
19
homeManagerModules/vscode.nix
Normal 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
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user