nichts/modules/other/users.nix

24 lines
483 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-11-01 14:26:59 +01:00
homix = true;
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
};
};
}