diff options
Diffstat (limited to 'lass')
-rw-r--r-- | lass/2configs/gsm-wiki.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lass/2configs/gsm-wiki.nix b/lass/2configs/gsm-wiki.nix index 69508a155..77b944ef8 100644 --- a/lass/2configs/gsm-wiki.nix +++ b/lass/2configs/gsm-wiki.nix @@ -12,6 +12,14 @@ ''; }; + services.nginx.virtualHosts."c3gsm.de" = { + forceSSL = true; + enableACME = true; + locations."/".extraConfig = '' + root /srv/http/c3gsm.de; + ''; + }; + users.users.c3gsm-docs = { isNormalUser = true; home = "/srv/http/docs.c3gsm.de"; @@ -23,4 +31,16 @@ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAlW1fvCrVXhVH/z76fXBWYR/qyecYTE9VOOkFLJ6OwG user@osmocom-dev" ]; }; + + users.users.c3gsm = { + isNormalUser = true; + home = "/srv/http/c3gsm.de"; + createHome = true; + homeMode = "750"; + useDefaultShell = true; + group = "nginx"; + openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAlW1fvCrVXhVH/z76fXBWYR/qyecYTE9VOOkFLJ6OwG user@osmocom-dev" + ]; + }; } |