bonfire/nixosConfigurations/catarina/users.nix

36 lines
1.4 KiB
Nix
Raw Normal View History

2024-01-06 18:06:02 +05:00
{
config,
pkgs,
...
}: {
# Users
users.users.root.hashedPasswordFile = config.sops.secrets."users/root".path;
2024-02-29 16:15:16 +05:00
users.users.l-nafaryus = {
isNormalUser = true;
2024-08-05 23:03:10 +05:00
createHome = true;
description = "L-Nafaryus";
extraGroups = ["networkmanager" "wheel"];
group = "users";
shell = pkgs.fish;
hashedPasswordFile = config.sops.secrets."users/l-nafaryus".path;
2024-08-05 23:03:10 +05:00
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG1YGp8AI48hJUSQBZpuKLpbj2+3Q09vq64NxFr0N1MS nafaryus"
];
};
users.users.nginx.extraGroups = ["acme" "papermc"];
2024-08-05 23:03:10 +05:00
users.users.kirill = {
isNormalUser = true;
createHome = true;
description = "Kirill";
extraGroups = ["networkmanager"];
group = "users";
shell = pkgs.bash;
openssh.authorizedKeys.keys = [
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCuxRavm+add0e0ODmp1ZQ1h3qV/7Yi8/h+nRIykV7+RKiBwvNK9kOz+vjS0jEUwmW7CqvbjI/QexUkK3UdANSeuXk4HU3CSdPM//yIcoydpEVDkfNL80ZClHISjAg0HHnD2WZ5UzOFdm0av7/93zkh+BP9kabEQWV6qMfFqTQkd2vvOMJRUEz4jiAuXBb9wTMYmAhv0WDlNVPdkSJlTHjE1eSxHqEBnPDtX7I9BqxLRmEs7JTqR2P1FBUP3ILhOx7/g0gkIPZDc/5ce44+cyMVLTkV2lP08rh1J73JMyMUnyWy5FRC+znLOyrYvgsbuKteK21yYBrN6AQYrDoLKcKw084mz2a38CA0GnGHVbXzyDEB6HoC9eQt+FGUrrC6Z9V3aUrGIRUbPNXTjmks6BJH0X44sWj/oKoimkbi191ADEoV1lCmGSH+XfigjR+Dc8fWWm2ekmbfGMVEqbFPNJF+rgJbhOSLtpXmMacs7+4z2vKJYRUe3oHjPFLePk0XfJE= kirill"
];
};
2024-01-06 18:06:02 +05:00
}