hackens-org-configurations/machines/hackens-milieu/users.nix

27 lines
1.1 KiB
Nix
Raw Normal View History

2021-11-02 19:30:28 +01:00
{ pkgs, ... }:
2022-07-30 08:44:32 +02:00
let
superadmins = [
2024-01-12 16:19:31 +01:00
../../../pubkeys/raito.keys
../../../pubkeys/gdd.keys
../../../pubkeys/BiBi.keys
../../../pubkeys/sinavir.keys
2024-03-29 23:50:17 +01:00
../../../pubkeys/soyouzpanda.keys
2022-07-30 08:44:32 +02:00
];
in
2021-11-02 19:30:28 +01:00
{
users.users.hackens = {
isNormalUser = true;
2022-07-30 08:44:32 +02:00
extraGroups = [ "wheel" "dialout" "audio" "video" ];
2021-11-02 19:30:28 +01:00
2023-02-24 14:43:35 +01:00
openssh.authorizedKeys.keys = [
2021-11-02 19:30:28 +01:00
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDcKULx/AgnqBsgwRX2BfV8waq6JXIkvZHhu9Y8paofM8awq6Om56BZoA7AV45YOcJxO/eFDOxSegXXmt22s4WjIf8I049aMdsW54BNpFpC/h18cMzm5ylKVGHl1ier/WXxpBsA8YU++YdRlGHPpKnhCtYLnBzD4Q5h+05GMIHismNZP1aGpE9s01FuP8eaDDkZUba7oSpn03AA77DBw4/2ZreSbqo96Z6WwiG09KeZvxFtEIk98EQtmiExB2fwsK3/JIxIBCoZHh4SzERcslxxGgzdppd6NhhSh7g523zhiihLaTAPNXBovGm5wcKOU9uWe+pUWEbwV04E+809aVbkJOdYBCtIf8M91meqpupA8jK38uquePHEFvpNr5UmY0qUlJCoqTvoqg9XgrfJVjlPEmYknj/QjQzkA4k19y8njsyEjnYOBL6tsztg6Igl+NZXjBAPuAzxCsfHOtWw1WM5gANwqOL0V9f7+14yST3HwweqjHRj4xky6ritxK+ujfc= hackens@hackens-desktop"
];
2022-07-30 08:44:32 +02:00
openssh.authorizedKeys.keyFiles = superadmins;
2023-02-24 14:43:35 +01:00
};
2021-11-02 19:30:28 +01:00
users.users.root = {
2022-07-30 08:44:32 +02:00
openssh.authorizedKeys.keyFiles = superadmins;
2021-11-02 19:30:28 +01:00
};
}