my terrible dotfiles

add muh new domain

Changed files
+46 -29
modules
desktop
nixos
+18 -18
modules/desktop/niri.nix
··· 159 159 }; 160 160 161 161 window-rules = [ 162 - { 163 - matches = [ 164 - { 165 - app-id = "firefox"; 166 - } 167 - ]; 168 - open-maximized = true; 169 - open-on-workspace = "1"; 170 - } 171 - { 172 - matches = [ 173 - { 174 - app-id = "signal"; 175 - } 176 - ]; 177 - open-maximized = true; 178 - open-on-workspace = "3"; 179 - } 162 + { 163 + matches = [ 164 + { 165 + app-id = "firefox"; 166 + } 167 + ]; 168 + open-maximized = true; 169 + open-on-workspace = "1"; 170 + } 171 + { 172 + matches = [ 173 + { 174 + app-id = "signal"; 175 + } 176 + ]; 177 + open-maximized = true; 178 + open-on-workspace = "3"; 179 + } 180 180 { 181 181 matches = [ 182 182 {
+14 -5
nixos/server/acme.nix
··· 12 12 group = config.services.nginx.user; 13 13 dnsResolver = "1.1.1.1:53"; 14 14 }; 15 - certs."monke.moe" = { 16 - dnsProvider = "cloudflare"; 17 - extraDomainNames = [ "*.monke.moe" ]; 18 - credentialFiles = { 19 - "CF_DNS_API_TOKEN_FILE" = config.sops.secrets."cloudflare/token".path; 15 + certs = { 16 + "monke.moe" = { 17 + dnsProvider = "cloudflare"; 18 + extraDomainNames = [ "*.monke.moe" ]; 19 + credentialFiles = { 20 + "CF_DNS_API_TOKEN_FILE" = config.sops.secrets."cloudflare/token".path; 21 + }; 22 + }; 23 + "auri.ee" = { 24 + dnsProvider = "cloudflare"; 25 + extraDomainNames = [ "*.auri.ee" ]; 26 + credentialFiles = { 27 + "CF_DNS_API_TOKEN_FILE" = config.sops.secrets."cloudflare/token".path; 28 + }; 20 29 }; 21 30 }; 22 31 };
+14 -6
nixos/server/nginx.nix
··· 62 62 useACMEHost = "monke.moe"; 63 63 http2 = true; 64 64 locations = { 65 - "/" = { 66 - return = ''200 "<h1>under construction</h1>"''; 67 - extraConfig = '' 68 - add_header Content-Type "text/html" always; 69 - ''; 70 - }; 65 + "/".return = "301 https://auri.ee"; 71 66 "/.well-known/atproto-did" = { 72 67 return = "200 did:plc:dlxa6xglnevgshddrhscr6nj"; 73 68 extraConfig = '' 74 69 add_header Access-Control-Allow-Origin "*" always; 75 70 add_header Content-Type "text/plain" always; 71 + ''; 72 + }; 73 + }; 74 + }; 75 + "auri.ee" = { 76 + onlySSL = true; 77 + useACMEHost = "auri.ee"; 78 + http2 = true; 79 + locations = { 80 + "/" = { 81 + return = ''200 "<h1>under construction</h1>"''; 82 + extraConfig = '' 83 + add_header Content-Type "text/html" always; 76 84 ''; 77 85 }; 78 86 };