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
{ inputs, ... }:
{
flake.modules.homeManager.desktop = { pkgs, ... }: {
{ self, inputs, ... }: {
flake.modules.homeManager.desktop = { config, pkgs, lib, ... }: {
imports = with inputs.self.modules.homeManager; [
brave
ghostty
@@ -11,6 +10,7 @@
home.packages = with pkgs; [
mangohud
sublime4
proton-vpn
];
};
}
+1
View File
@@ -16,6 +16,7 @@
gnome
desktop
];
vscode.enable = true;
}
] ++ (with self.modules.nixos; [
p14sConfiguration
+4 -1
View File
@@ -1,6 +1,6 @@
{ self, inputs, ... }: {
flake.modules.homeManager.git = { config, pkgs, lib, ... }: {
home.packges = with pkgs; [
home.packages = with pkgs; [
git-credential-oauth
];
programs.git = {
@@ -16,5 +16,8 @@
enableBashIntegration = true;
enableZshIntegration = true;
};
home.shellAliases = {
"lzg" = "lazygit";
};
};
}
+8 -3
View File
@@ -1,6 +1,10 @@
{
flake.modules.homeManager.vscode = { pkgs, ... }:
{
{ self, inputs, ... }: {
flake.modules.homeManager.vscode = { config, pkgs, lib, ... }: {
options.vscode = {
enable = lib.mkEnableOption "Enable nix-managed VSCode";
};
config = lib.mkIf config.vscode.enable {
programs.vscode = {
enable = true;
package = pkgs.vscode;
@@ -18,4 +22,5 @@
];
};
};
};
}