This repository has no description
0

Configure Feed

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

superconfig / 2configs / websites / lassulus.nix
1.3 kB 48 lines
1{ config, pkgs, ... }: 2{ 3 imports = [ 4 ./default.nix 5 ]; 6 7 security.acme = { 8 defaults.email = "acme@lassul.us"; 9 acceptTerms = true; 10 certs."lassul.us" = { 11 group = "lasscert"; 12 }; 13 }; 14 15 users.groups.lasscert.members = [ 16 "nginx" 17 ]; 18 19 services.nginx.virtualHosts."lassul.us" = { 20 addSSL = true; 21 enableACME = true; 22 default = true; 23 locations."/".extraConfig = '' 24 root /srv/http/lassul.us; 25 ''; 26 locations."= /retiolum-hosts.tar.bz2".extraConfig = '' 27 alias ${config.krebs.tinc.retiolum.hostsArchive}; 28 ''; 29 locations."= /hosts".extraConfig = '' 30 alias ${pkgs.krebs-hosts_combined}; 31 ''; 32 locations."= /retiolum.hosts".extraConfig = '' 33 alias ${pkgs.krebs-hosts-retiolum}; 34 ''; 35 locations."= /wireguard-key".extraConfig = '' 36 alias ${pkgs.writeText "prism.wg" config.krebs.hosts.prism.nets.wiregrill.wireguard.pubkey}; 37 ''; 38 locations."= /ssh.pub".extraConfig = '' 39 alias ${pkgs.writeText "pub" config.krebs.users.lass.pubkey}; 40 ''; 41 locations."= /gpg.pub".extraConfig = '' 42 alias ${pkgs.writeText "pub" config.krebs.users.lass.pgp.pubkeys.default}; 43 ''; 44 locations."= /ip".extraConfig = '' 45 return 200 '$remote_addr'; 46 ''; 47 }; 48}