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";
};
}; };
} }
+8 -3
View File
@@ -1,6 +1,10 @@
{ { self, inputs, ... }: {
flake.modules.homeManager.vscode = { pkgs, ... }: flake.modules.homeManager.vscode = { config, pkgs, lib, ... }: {
{ options.vscode = {
enable = lib.mkEnableOption "Enable nix-managed VSCode";
};
config = lib.mkIf config.vscode.enable {
programs.vscode = { programs.vscode = {
enable = true; enable = true;
package = pkgs.vscode; package = pkgs.vscode;
@@ -18,4 +22,5 @@
]; ];
}; };
}; };
};
} }