From 1538630782ac8c56d549af4fcac4c9abcba8c9c5 Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 19 Jun 2015 22:06:24 +0200 Subject: host rmdir: initial commit --- modules/rmdir/users.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 modules/rmdir/users.nix (limited to 'modules/rmdir/users.nix') 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 ) + (readFile ) + ]; + }; + }; + + users.mutableUsers = false; +} -- cgit v1.2.3