diff options
Diffstat (limited to '')
-rw-r--r-- | blobs/stitch/0.0.1/stitch | 1 | ||||
-rw-r--r-- | configuration.nix | 12 |
2 files changed, 12 insertions, 1 deletions
diff --git a/blobs/stitch/0.0.1/stitch b/blobs/stitch/0.0.1/stitch new file mode 100644 index 0000000..deec236 --- /dev/null +++ b/blobs/stitch/0.0.1/stitch @@ -0,0 +1 @@ +STITCH diff --git a/configuration.nix b/configuration.nix index 0ddc4c8..95668c8 100644 --- a/configuration.nix +++ b/configuration.nix @@ -1,6 +1,7 @@ { pkgs, inputs, ... }: let cgitCss = pkgs.writeText "cgit.css" (builtins.readFile ./cgit.css); + blobs = pkgs.readDir "blobs" in { imports = [ ./hardware-configuration.nix @@ -12,7 +13,8 @@ in { networking.nat.externalInterface = "eth0"; systemd.tmpfiles.rules = [ - "d /mnt/ 700 root root -" + "d /mnt/ 700 root root -"; + "d /www/data/releases/ 700 nginx nginx" ]; containers.ann = { @@ -144,6 +146,14 @@ in { }; + virtualHosts."blobs.mccd.space" = { + forceSSL = true; + enableACME = true; + locations."/" = { + root = "${blobs}"; + }; + }; + virtualHosts."rss.mccd.space" = { forceSSL = true; enableACME = true; |