mio-ops/profiles/users.nix

58 lines
1.3 KiB
Nix
Raw Normal View History

2024-08-23 13:48:24 +00:00
# User configuration common to all MIO hosts
{
config,
pkgs,
...
}: {
age.secrets = {
fiona.file = ../secrets/fiona.age;
hamish.file = ../secrets/hamish.age;
logan.file = ../secrets/logan.age;
xander.file = ../secrets/xander.age;
};
# MIO Groups:
users.groups = {
fiona.gid = 1004;
hamish.gid = 1001;
logan.gid = 1002;
xander.gid = 1003;
};
# MIO Users
users.users = {
fiona = {
isNormalUser = true;
description = "Fiona McWhirter";
uid = 1004;
group = "fiona";
extraGroups = ["networkmanager"];
2024-09-17 09:22:13 +00:00
hashedPasswordFile = config.age.secrets.fiona.path;
2024-08-23 13:48:24 +00:00
};
hamish = {
isNormalUser = true;
description = "Hamish McWhirter";
uid = 1001;
group = "hamish";
extraGroups = ["networkmanager"];
2024-09-17 09:22:13 +00:00
hashedPasswordFile = config.age.secrets.hamish.path;
2024-08-23 13:48:24 +00:00
};
logan = {
isNormalUser = true;
description = "Logan Stoddart";
uid = 1002;
group = "logan";
extraGroups = ["networkmanager"];
2024-09-17 09:22:13 +00:00
hashedPasswordFile = config.age.secrets.logan.path;
2024-08-23 13:48:24 +00:00
};
xander = {
isNormalUser = true;
description = "Xander Stoddart";
uid = 1003;
group = "xander";
extraGroups = ["networkmanager"];
2024-09-17 09:22:13 +00:00
hashedPasswordFile = config.age.secrets.logan.path;
2024-08-23 13:48:24 +00:00
};
};
}