shared-public-infra/modules/users/friends.nix

27 lines
616 B
Nix
Raw Normal View History

2023-08-17 21:37:18 +00:00
{ ... }:
let
trustedFriendGroups = [
"production-hydra-db"
];
in
{
2023-08-16 13:22:54 +00:00
users.users = {
ninjatrappeur = {
isNormalUser = true;
home = "/home/ninjatrappeur";
shell = "/run/current-system/sw/bin/zsh";
uid = 2000;
2023-08-17 21:37:18 +00:00
extraGroups = trustedFriendGroups;
2023-08-16 13:22:54 +00:00
openssh.authorizedKeys.keyFiles = [ ./keys/ninjatrappeur.keys ];
};
2023-08-17 21:37:18 +00:00
linus = {
isNormalUser = true;
home = "/home/linus";
shell = "/run/current-system/sw/bin/zsh";
uid = 2001;
extraGroups = trustedFriendGroups;
openssh.authorizedKeys.keyFiles = [ ./keys/linus.keys ];
};
2023-08-16 13:22:54 +00:00
};
}