root user zsh

This commit is contained in:
mjallen18
2025-05-27 20:07:49 -05:00
parent a945e5fae7
commit 8826407643
8 changed files with 37 additions and 10 deletions

View File

@@ -475,6 +475,14 @@
pi5-sops-nix.homeManagerModules.sops pi5-sops-nix.homeManagerModules.sops
]; ];
}; };
home-manager.users.root =
{ ... }:
{
imports = [
./share/root-user
pi5-sops-nix.homeManagerModules.sops
];
};
} }
]; ];
}; };
@@ -515,6 +523,14 @@
pi4-sops-nix.homeManagerModules.sops pi4-sops-nix.homeManagerModules.sops
]; ];
}; };
home-manager.users.root =
{ ... }:
{
imports = [
./share/root-user
pi4-sops-nix.homeManagerModules.sops
];
};
} }
]; ];
}; };
@@ -544,6 +560,14 @@
steamdeck-steam-rom-manager.homeManagerModules.default steamdeck-steam-rom-manager.homeManagerModules.default
]; ];
}; };
home-manager.users.root =
{ ... }:
{
imports = [
./share/root-user
steamdeck-sops-nix.homeManagerModules.sops
];
};
home-manager.backupFileExtension = "backup"; home-manager.backupFileExtension = "backup";
} }

View File

@@ -107,6 +107,8 @@
shell = pkgs.zsh; shell = pkgs.zsh;
}; };
users.users.root.shell = pkgs.zsh;
programs = { programs = {
gamemode.enable = lib.mkDefault true; gamemode.enable = lib.mkDefault true;
zsh.enable = true; zsh.enable = true;

View File

@@ -21,7 +21,7 @@ in
fsType = "tmpfs"; fsType = "tmpfs";
options = [ options = [
"defaults" "defaults"
"size=256G" "size=25%"
"mode=755" "mode=755"
]; ];
}; };

View File

@@ -121,11 +121,12 @@ in
git = { git = {
enable = true; enable = true;
package = pkgs.git.override { withLibsecret = true; };
userName = "mjallen18"; userName = "mjallen18";
userEmail = "matt.l.jallen@gmail.com"; userEmail = "matt.l.jallen@gmail.com";
aliases = gitAliases; aliases = gitAliases;
extraConfig = { extraConfig = {
credential.helper = "gnome-keyring"; credential.helper = "libsecret";
}; };
}; };
@@ -203,19 +204,11 @@ in
protonup protonup
protontricks protontricks
protonvpn-gui protonvpn-gui
protonvpn-gui
python3
python312Packages.tox
python312Packages.setuptools
python312Packages.pytest
python312Packages.pytest-cov
python312Packages.pyaml
qmk qmk
remmina remmina
smile smile
sops sops
spotify spotify
ssh-to-pgp
tree tree
unigine-heaven unigine-heaven
vesktop vesktop

View File

@@ -19,4 +19,6 @@ in
hashedPasswordFile = passwordFile; hashedPasswordFile = passwordFile;
shell = pkgsVersion.zsh; shell = pkgsVersion.zsh;
}; };
users.users.root.shell = pkgsVersion.zsh;
} }

View File

@@ -82,5 +82,7 @@ in
]; ];
hashedPasswordFile = passwordFile; hashedPasswordFile = passwordFile;
}; };
users.root.shell = pkgs.zsh;
}; };
} }

View File

@@ -72,5 +72,7 @@ in
]; ];
shell = pkgs.zsh; shell = pkgs.zsh;
}; };
users.root.shell = pkgs.zsh;
}; };
} }

View File

@@ -85,5 +85,7 @@ in
]; ];
shell = pkgs.zsh; shell = pkgs.zsh;
}; };
users.root.shell = pkgs.zsh;
}; };
} }