From d3fc6f38c45e18c1a132a950916e3c1650c452c0 Mon Sep 17 00:00:00 2001 From: Jade Date: Wed, 12 Apr 2023 14:17:06 +0200 Subject: [PATCH] grrarr --- flake.nix | 1 + schrottserver/proxy.nix | 11 ++++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 3340f9c..60e74a3 100644 --- a/flake.nix +++ b/flake.nix @@ -20,6 +20,7 @@ wordsofgod.url = "git+https://gitlab.com/obsidianical/wordsofgod.git"; karton.url = "git+https://gitlab.com/obsidianical/microbin.git"; arion.url = "github:hercules-ci/arion"; + gumseite.url = "git+https://gitlab.com/schrottkatze/gum-schulsachen.git"; }; outputs = { self, nixpkgs, nixpkgs-stable, home-manager, nixos-hardware, mac-brcm-fw, ... }@inputs: { diff --git a/schrottserver/proxy.nix b/schrottserver/proxy.nix index 16e0f39..c926983 100644 --- a/schrottserver/proxy.nix +++ b/schrottserver/proxy.nix @@ -8,6 +8,10 @@ group = "nginx"; keyType = "rsa4096"; }; + "katzen.cafe" = { + group = "nginx"; + keyType = "rsa4096"; + }; "vw.schrottkatze.de" = { group = "nginx"; keyType = "rsa4096"; @@ -31,7 +35,7 @@ }; }; - environment.systemPackages = [ inputs.meowsite.packages."x86_64-linux".default ]; + environment.systemPackages = [ inputs.meowsite.packages."x86_64-linux".default inputs.gumseite.packages."x86_64-linux".default ]; services.nginx = { enable = true; @@ -47,6 +51,11 @@ enableACME = true; root = "${inputs.meowsite.packages."x86_64-linux".default}"; }; + "katzen.cafe" = { + forceSSL = true; + enableACME = true; + root = "${inputs.gumseite.packages."x86_64-linux".default}"; + }; "vw.schrottkatze.de" = { forceSSL = true; enableACME = true;