diff options
author | Rory&::Emma <root@rory.gay> | 2024-04-20 19:24:50 +0000 |
---|---|---|
committer | Rory& <root@rory.gay> | 2024-07-04 14:44:59 +0200 |
commit | 80ac7a155a43d89d0f94f32fea45db593f2d28f6 (patch) | |
tree | a38d7f626b7a66fed84f00188188cfb9409bbfcd /modules | |
parent | Update from server (diff) | |
download | Rory-Open-Architecture-80ac7a155a43d89d0f94f32fea45db593f2d28f6.tar.xz |
Server changes
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 = {}; +} |