Iwakura/users/root/default.nix

11 lines
282 B
Nix
Raw Normal View History

2021-04-27 18:47:09 -04:00
{ pkgs, ... }: {
users.users.root = {
hashedPassword = "$6$fN9J7sDWZCJU$bybWVlYNHod4qXOTWDl9UZZgn7Bkb17ulM6wTr7hAhyQT4wlmW0An7pcXiYu3SqjSVnEmlma5uujfZ6Z.ZUL91";
# read all pub keys from ./pubkeys
openssh.authorizedKeys.keys = map builtins.readDir ./pubkeys;
};
}