diff options
author | lassulus <git@lassul.us> | 2023-09-07 12:26:31 +0200 |
---|---|---|
committer | lassulus <git@lassul.us> | 2023-09-07 13:50:26 +0200 |
commit | f55307fd73af235069744dd5155fda0bc73fe613 (patch) | |
tree | f048d7750a50e48493505a08784c96d07d291f89 /lass/2configs/gsm-wiki.nix | |
parent | 85ae348bf3f53125c8281669a32bf007dc0063be (diff) |
lass: migrate away
Diffstat (limited to 'lass/2configs/gsm-wiki.nix')
-rw-r--r-- | lass/2configs/gsm-wiki.nix | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/lass/2configs/gsm-wiki.nix b/lass/2configs/gsm-wiki.nix deleted file mode 100644 index 77b944ef..00000000 --- a/lass/2configs/gsm-wiki.nix +++ /dev/null @@ -1,46 +0,0 @@ -{ config, lib, pkgs, ... }: -{ - services.nginx.virtualHosts."docs.c3gsm.de" = { - forceSSL = true; - enableACME = true; - locations."/".extraConfig = '' - auth_basic "Restricted Content"; - auth_basic_user_file ${pkgs.writeText "flix-user-pass" '' - c3gsm:$apr1$q9OrPI4C$7AY4EIp3J2Xc4eLMbPGE21 - ''}; - root /srv/http/docs.c3gsm.de; - ''; - }; - - 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"; - createHome = true; - homeMode = "750"; - useDefaultShell = true; - group = "nginx"; - openssh.authorizedKeys.keys = [ - "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" - ]; - }; -} |