summaryrefslogtreecommitdiffstats
path: root/lass/2configs
diff options
context:
space:
mode:
authorlassulus <git@lassul.us>2023-09-03 12:10:37 +0200
committerlassulus <git@lassul.us>2023-09-03 12:10:37 +0200
commit8c074037a1ed6705d6cecb5c5dd1910a2d739c5b (patch)
tree4383eb4d7bb52c00dac8220c45cc75a357d13ee9 /lass/2configs
parent07f4e3fa8d71a9c2260634e2c49320f13d9d7511 (diff)
l realwallpaper: make public readable
Diffstat (limited to 'lass/2configs')
-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/;