From 8c074037a1ed6705d6cecb5c5dd1910a2d739c5b Mon Sep 17 00:00:00 2001 From: lassulus Date: Sun, 3 Sep 2023 12:10:37 +0200 Subject: l realwallpaper: make public readable --- lass/2configs/realwallpaper.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lass/2configs/realwallpaper.nix') diff --git a/lass/2configs/realwallpaper.nix b/lass/2configs/realwallpaper.nix index d81642da1..0260b91c0 100644 --- a/lass/2configs/realwallpaper.nix +++ b/lass/2configs/realwallpaper.nix @@ -10,7 +10,7 @@ in { krebs.realwallpaper.enable = true; system.activationScripts.wallpaper-chmod = '' - ${pkgs.coreutils}/bin/chmod +x /var/realwallpaper + ${pkgs.coreutils}/bin/chmod +rx /var/realwallpaper ''; services.nginx.virtualHosts.wallpaper = { extraConfig = '' @@ -21,9 +21,9 @@ in { serverAliases = [ "wallpaper.r" ]; - locations."/realwallpaper/".extraConfig = '' - index on; - root /var/realwallpaper"; + locations."/".extraConfig = '' + autoindex on; + root /var/realwallpaper/; ''; locations."/realwallpaper.png".extraConfig = '' root /var/realwallpaper/; -- cgit v1.2.3