refactor: break out user definitions and disable mutability. Also fix a couple evaluation warnings

This commit is contained in:
2026-10-22 11:30:00 -04:00
parent ba69916e0e
commit 532b380a6d
4 changed files with 18 additions and 26 deletions
+1 -14
View File
@@ -16,6 +16,7 @@
../../features/i18n.nix
../../features/sudo.nix
../../features/sops.nix
../../features/users.nix
./nix-package-manager.nix
];
@@ -169,20 +170,6 @@
};
};
users.users.frank = {
isNormalUser = true;
description = "Frank LoTurco";
hashedPassword = config.sops.secrets.password_hash.path;
extraGroups = [
"networkmanager"
"wheel"
"input"
"video"
"uinput"
];
};
nixpkgs = {
# Fix msitools compiling and failing it's test-suite.
overlays = [
+1 -11
View File
@@ -14,6 +14,7 @@
../../features/i18n.nix
../../features/sudo.nix
../../features/sops.nix
../../features/users.nix
./nix-package-manager.nix
];
@@ -73,17 +74,6 @@
};
};
users.users.frank = {
isNormalUser = true;
description = "Frank LoTurco";
hashedPassword = config.sops.secrets.password_hash.path;
extraGroups = [
"wheel"
"libvirtd"
];
};
environment = {
systemPackages =
import ../../features/common-pkgs.nix { inherit pkgs; }