nix-config/users/root/default.nix

18 lines
437 B
Nix

{
pkgs,
config,
...
}: {
users.users.root = {
shell = pkgs.zsh;
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDZixkix0KfKuq7Q19whS5FQQg51/AJGB5BiNF/7h/LM"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHxD4GOrwrBTG4/qQhm5hoSB2CP7W9g1LPWP11oLGOjQ"
];
hashedPassword = config.secrets.secrets.global.users.root.passwordHash;
};
home-manager.users.root.imports = [
../common
];
}