summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lass/2configs/realwallpaper.nix8
1 files changed, 4 insertions, 4 deletions
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/;