puter/common/users.nix

19 lines
438 B
Nix
Raw Normal View History

2024-02-04 20:51:11 +00:00
{config, ...}: {
age.secrets.user-lukas.file = ../secrets/user-lukas.age;
users = {
2024-08-18 12:54:44 +00:00
mutableUsers = false;
2024-02-04 20:51:11 +00:00
users = {
root.hashedPassword = "!";
lukas = {
2024-07-01 22:06:05 +00:00
uid = 1000;
2024-02-04 20:51:11 +00:00
isNormalUser = true;
hashedPasswordFile = config.age.secrets.user-lukas.path;
2024-04-13 20:29:14 +00:00
openssh.authorizedKeys.keys = builtins.attrValues (import ../pubkeys.nix).users;
2024-09-15 12:17:08 +00:00
extraGroups = ["wheel"];
2024-02-04 20:51:11 +00:00
};
};
};
}