Iwakura/users/root/default.nix
2021-04-27 22:47:09 +00:00

11 lines
282 B
Nix

{ pkgs, ... }: {
users.users.root = {
hashedPassword = "$6$fN9J7sDWZCJU$bybWVlYNHod4qXOTWDl9UZZgn7Bkb17ulM6wTr7hAhyQT4wlmW0An7pcXiYu3SqjSVnEmlma5uujfZ6Z.ZUL91";
# read all pub keys from ./pubkeys
openssh.authorizedKeys.keys = map builtins.readDir ./pubkeys;
};
}