This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

superconfig / 2configs / gsm-wiki.nix
1.2 kB 46 lines
1{ config, lib, pkgs, ... }: 2{ 3 services.nginx.virtualHosts."docs.c3gsm.de" = { 4 forceSSL = true; 5 enableACME = true; 6 locations."/".extraConfig = '' 7 auth_basic "Restricted Content"; 8 auth_basic_user_file ${pkgs.writeText "flix-user-pass" '' 9 c3gsm:$apr1$q9OrPI4C$7AY4EIp3J2Xc4eLMbPGE21 10 ''}; 11 root /srv/http/docs.c3gsm.de; 12 ''; 13 }; 14 15 services.nginx.virtualHosts."c3gsm.de" = { 16 forceSSL = true; 17 enableACME = true; 18 locations."/".extraConfig = '' 19 root /srv/http/c3gsm.de; 20 ''; 21 }; 22 23 users.users.c3gsm-docs = { 24 isNormalUser = true; 25 home = "/srv/http/docs.c3gsm.de"; 26 createHome = true; 27 homeMode = "750"; 28 useDefaultShell = true; 29 group = "nginx"; 30 openssh.authorizedKeys.keys = [ 31 "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAlW1fvCrVXhVH/z76fXBWYR/qyecYTE9VOOkFLJ6OwG user@osmocom-dev" 32 ]; 33 }; 34 35 users.users.c3gsm = { 36 isNormalUser = true; 37 home = "/srv/http/c3gsm.de"; 38 createHome = true; 39 homeMode = "750"; 40 useDefaultShell = true; 41 group = "nginx"; 42 openssh.authorizedKeys.keys = [ 43 "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAlW1fvCrVXhVH/z76fXBWYR/qyecYTE9VOOkFLJ6OwG user@osmocom-dev" 44 ]; 45 }; 46}