summaryrefslogtreecommitdiffstats
path: root/lass/2configs/gsm-wiki.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2023-09-11 14:55:04 +0200
committertv <tv@krebsco.de>2023-09-11 14:55:04 +0200
commit8fc162ee3d9525a2b45346a1ca8f34ccb5ef971b (patch)
treeaa37724dd0452860d4b9b033332587c8832629e3 /lass/2configs/gsm-wiki.nix
parent90b1515dcd5b67a85cd92901fb211764b1fa5f83 (diff)
parent083229d0211096daec08673f743ccc45b1d8a0ac (diff)
Merge remote-tracking branch 'orange/master'
Diffstat (limited to 'lass/2configs/gsm-wiki.nix')
-rw-r--r--lass/2configs/gsm-wiki.nix26
1 files changed, 0 insertions, 26 deletions
diff --git a/lass/2configs/gsm-wiki.nix b/lass/2configs/gsm-wiki.nix
deleted file mode 100644
index 69508a15..00000000
--- a/lass/2configs/gsm-wiki.nix
+++ /dev/null
@@ -1,26 +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;
- '';
- };
-
- 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"
- ];
- };
-}