diff options
Diffstat (limited to 'modules/rmdir/users.nix')
-rw-r--r-- | modules/rmdir/users.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/modules/rmdir/users.nix b/modules/rmdir/users.nix new file mode 100644 index 000000000..82f078b4e --- /dev/null +++ b/modules/rmdir/users.nix @@ -0,0 +1,19 @@ +{ ... }: + +let + inherit (builtins) readFile; +in + +{ + users.extraUsers = + { + root = { + openssh.authorizedKeys.keys = [ + (readFile <pubkeys/deploy_wu.ssh.pub>) + (readFile <pubkeys/tv_wu.ssh.pub>) + ]; + }; + }; + + users.mutableUsers = false; +} |