refactor: break out user definitions and disable mutability. Also fix a couple evaluation warnings
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user