nix-config/users/root/default.nix

29 lines
674 B
Nix
Raw Normal View History

2023-05-18 11:47:55 +02:00
{
pkgs,
config,
...
2024-07-26 22:12:48 +02:00
}:
{
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
];
hashedPassword = config.secrets.secrets.global.users.root.passwordHash;
2023-05-18 11:47:55 +02:00
};
2024-10-31 15:09:23 +01:00
imports = [
../patrick/alias.nix
../patrick/theme.nix
../patrick/programs/nvim
../patrick/programs/pager.nix
../patrick/programs/zsh
];
2023-05-18 11:47:55 +02:00
}