users: custom property to define users with root

This commit is contained in:
Katherina Walshe-Grey 2025-03-17 02:57:15 +00:00
parent 55000c365a
commit d8e85815bd
7 changed files with 29 additions and 7 deletions

View file

@ -31,10 +31,10 @@ in
nix.optimise.automatic = mkForce false;
fountain.users.qenya.enable = true;
fountain.admins = [ "qenya" ];
age.secrets.user-password-tohru-qenya.file = ../../secrets/user-password-tohru-qenya.age;
users.users.qenya.hashedPasswordFile = config.age.secrets.user-password-tohru-qenya.path;
users.users.qenya.extraGroups = [
"wheel" # sudo
"networkmanager" # UI wifi configuration
"dialout" # access to serial ports
];