diff options
Diffstat (limited to 'modules/mkdir/users.nix')
-rw-r--r-- | modules/mkdir/users.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/modules/mkdir/users.nix b/modules/mkdir/users.nix new file mode 100644 index 000000000..82f078b4e --- /dev/null +++ b/modules/mkdir/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; +} |