diff options
Diffstat (limited to 'modules')
-rwxr-xr-x | modules/users/Alice.nix | 17 | ||||
-rw-r--r-- | modules/users/groups/BugMine-contrib.nix | 5 |
2 files changed, 22 insertions, 0 deletions
diff --git a/modules/users/Alice.nix b/modules/users/Alice.nix new file mode 100755 index 0000000..e2e343a --- /dev/null +++ b/modules/users/Alice.nix @@ -0,0 +1,17 @@ +{ config, pkgs, ... }: + +{ + imports = [ groups/BugMine-contrib.nix ]; + users.groups.Alice = {}; + users.users.Alice = { + isSystemUser = true; + extraGroups = [ "BugMine-contrib" ]; + group = "Alice"; + home = "/group/bugmine-contrib"; + shell = "${pkgs.git}/bin/git-shell"; + openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPb52m1rnJSffSOJvN6OYkKgK0TmiRKE4SbOKlkT8Tvn" + ]; + }; +} + diff --git a/modules/users/groups/BugMine-contrib.nix b/modules/users/groups/BugMine-contrib.nix new file mode 100644 index 0000000..636afba --- /dev/null +++ b/modules/users/groups/BugMine-contrib.nix @@ -0,0 +1,5 @@ +{ config, pkgs, ... }: + +{ + users.groups.BugMine-contrib = {}; +} |