2023-05-18 11:47:55 +02:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
config,
|
2023-12-18 16:49:17 +01:00
|
|
|
lib,
|
|
|
|
minimal,
|
2023-05-18 11:47:55 +02:00
|
|
|
...
|
|
|
|
}: {
|
|
|
|
users.users.root = {
|
|
|
|
shell = pkgs.zsh;
|
|
|
|
openssh.authorizedKeys.keys = [
|
2023-10-07 01:01:35 +02:00
|
|
|
# Patrick
|
2023-05-18 11:47:55 +02:00
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDZixkix0KfKuq7Q19whS5FQQg51/AJGB5BiNF/7h/LM"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHxD4GOrwrBTG4/qQhm5hoSB2CP7W9g1LPWP11oLGOjQ"
|
2023-10-07 01:01:35 +02:00
|
|
|
# Simon old yubikey
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFmees72GMKG/rsQQRhs2I/lQnJa0uW5KmZlNBeriCh0"
|
2023-05-18 11:47:55 +02:00
|
|
|
];
|
2023-06-02 07:53:17 +02:00
|
|
|
hashedPassword = config.secrets.secrets.global.users.root.passwordHash;
|
2023-05-18 11:47:55 +02:00
|
|
|
};
|
2023-12-18 16:49:17 +01:00
|
|
|
home-manager.users.root.imports = lib.lists.optionals (!minimal) [
|
2023-06-02 14:18:30 +02:00
|
|
|
../common
|
|
|
|
];
|
2023-05-18 11:47:55 +02:00
|
|
|
}
|