Compare commits

...

3 Commits

Author SHA1 Message Date
John Lancaster 450be7531d optional vscode in desktop 2026-03-26 22:32:43 -05:00
John Lancaster d008fa5814 rename 2026-03-26 22:32:34 -05:00
John Lancaster 9aadd03d66 lzg alias 2026-03-26 22:24:34 -05:00
4 changed files with 31 additions and 22 deletions
+3 -3
View File
@@ -1,7 +1,6 @@
# This module is for programs with GUIs that run in a desktop environment # This module is for programs with GUIs that run in a desktop environment
{ inputs, ... }: { self, inputs, ... }: {
{ flake.modules.homeManager.desktop = { config, pkgs, lib, ... }: {
flake.modules.homeManager.desktop = { pkgs, ... }: {
imports = with inputs.self.modules.homeManager; [ imports = with inputs.self.modules.homeManager; [
brave brave
ghostty ghostty
@@ -11,6 +10,7 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
mangohud mangohud
sublime4 sublime4
proton-vpn
]; ];
}; };
} }
+1
View File
@@ -16,6 +16,7 @@
gnome gnome
desktop desktop
]; ];
vscode.enable = true;
} }
] ++ (with self.modules.nixos; [ ] ++ (with self.modules.nixos; [
p14sConfiguration p14sConfiguration
+4 -1
View File
@@ -1,6 +1,6 @@
{ self, inputs, ... }: { { self, inputs, ... }: {
flake.modules.homeManager.git = { config, pkgs, lib, ... }: { flake.modules.homeManager.git = { config, pkgs, lib, ... }: {
home.packges = with pkgs; [ home.packages = with pkgs; [
git-credential-oauth git-credential-oauth
]; ];
programs.git = { programs.git = {
@@ -16,5 +16,8 @@
enableBashIntegration = true; enableBashIntegration = true;
enableZshIntegration = true; enableZshIntegration = true;
}; };
home.shellAliases = {
"lzg" = "lazygit";
};
}; };
} }
+23 -18
View File
@@ -1,21 +1,26 @@
{ { self, inputs, ... }: {
flake.modules.homeManager.vscode = { pkgs, ... }: flake.modules.homeManager.vscode = { config, pkgs, lib, ... }: {
{ options.vscode = {
programs.vscode = { enable = lib.mkEnableOption "Enable nix-managed VSCode";
enable = true; };
package = pkgs.vscode;
profiles.default.extensions = with pkgs.vscode-extensions; [ config = lib.mkIf config.vscode.enable {
mhutchie.git-graph programs.vscode = {
ms-vscode-remote.vscode-remote-extensionpack enable = true;
ms-python.python package = pkgs.vscode;
ms-python.vscode-pylance profiles.default.extensions = with pkgs.vscode-extensions; [
ms-toolsai.jupyter mhutchie.git-graph
charliermarsh.ruff ms-vscode-remote.vscode-remote-extensionpack
github.vscode-pull-request-github ms-python.python
github.vscode-github-actions ms-python.vscode-pylance
github.copilot ms-toolsai.jupyter
catppuccin.catppuccin-vsc charliermarsh.ruff
]; github.vscode-pull-request-github
github.vscode-github-actions
github.copilot
catppuccin.catppuccin-vsc
];
};
}; };
}; };
} }