summaryrefslogtreecommitdiff
path: root/hosts/chaski/services/woitb.nix
diff options
context:
space:
mode:
authorstuebinm2022-01-09 08:09:39 +0100
committerstuebinm2022-01-09 08:12:16 +0100
commite88fed18f499a3e8ac98c772bbb62f00d1f8d1d7 (patch)
tree2acb627ac0bf070d42f3b214015fdf1b4e920c44 /hosts/chaski/services/woitb.nix
parenteb97c76228dd9675ccfe4662ca551f07327ca9b4 (diff)
use flakes instead of niv & stuff
Diffstat (limited to 'hosts/chaski/services/woitb.nix')
-rw-r--r--hosts/chaski/services/woitb.nix10
1 files changed, 2 insertions, 8 deletions
diff --git a/hosts/chaski/services/woitb.nix b/hosts/chaski/services/woitb.nix
index a2d64a0..0c50617 100644
--- a/hosts/chaski/services/woitb.nix
+++ b/hosts/chaski/services/woitb.nix
@@ -1,4 +1,4 @@
-{ config, lib, pkgs, ... }:
+{ config, lib, pkgs, inputs, ... }:
let
#sources = ../../nix/sources.nix;
@@ -26,13 +26,7 @@ in
services.nginx.virtualHosts."track.ilztal.live" = {
enableACME = true;
forceSSL = true;
- locations."/".root = pkgs.copyPathToStore /home/stuebinm/Dokumente/utils/tracktrain;
+ locations."/".root = inputs.tracktrain;
};
- networking.firewall.allowedTCPPorts = [ 80 443 ];
-
- services.nginx.appendHttpConfig = ''
- access_log off;
- add_header Permissions-Policy "interest-cohort=()";
- '';
}