nichts/modules/other/users.nix

23 lines
461 B
Nix
Raw Normal View History

2024-10-27 10:47:44 +01:00
{config, ...}: let
inherit (config.meta.mainUser) username;
in {
users = {
mutableUsers = false;
users = {
${username} = {
isNormalUser = true;
extraGroups = [
"wheel"
"networking"
"video"
"networkmanager"
"audio"
"nix"
];
2024-10-28 21:52:16 +01:00
# hashedPasswordFile = "/etc/passwords/cr";
2024-10-27 10:47:44 +01:00
};
2024-10-28 21:52:16 +01:00
# root.hashedPasswordFile = "/persist/passwords/root";
2024-10-27 10:47:44 +01:00
};
};
}