diff options
Diffstat (limited to 'depo/users.nix')
-rw-r--r-- | depo/users.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/depo/users.nix b/depo/users.nix new file mode 100644 index 0000000..80b7570 --- /dev/null +++ b/depo/users.nix @@ -0,0 +1,26 @@ +{ ... }: + +{ + users = { + users = { + ben = { + isNormalUser = true; + home = "/home/ben"; + openssh.authorizedKeys.keys = [(builtins.readFile ../keys/ben.pub)]; + extraGroups = [ "wheel" "networkmanager" "docker" ]; + }; + nick = { + isNormalUser = true; + home = "/home/nick"; + openssh.authorizedKeys.keys = [(builtins.readFile ../keys/nick.pub)]; + extraGroups = [ "docker" ]; + }; + dre = { + isNormalUser = true; + home = "/home/dre"; + openssh.authorizedKeys.keys = [(builtins.readFile ../keys/dre.pub)]; + extraGroups = [ "docker" ]; + }; + }; + }; +} |