hackens-org-configurations/profiles/shared-hackens/users.nix

26 lines
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 = [
../../pubkeys/raito.keys
../../pubkeys/gdd.keys
../../pubkeys/BiBi.keys
2023-01-15 18:34:00 +01:00
../../pubkeys/sinavir.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
};
}