lass: update realwallpaper locations

This commit is contained in:
lassulus 2017-04-15 17:16:20 +02:00
parent a80cbaa6e9
commit 930971c9e2
2 changed files with 9 additions and 3 deletions
lass

View file

@ -194,7 +194,7 @@ in {
../2configs/realwallpaper.nix
];
services.nginx.virtualHosts."lassul.us".locations."/wallpaper.png".extraConfig = ''
alias /tmp/wallpaper.png;
alias /var/realwallpaper/realwallpaper.png;
'';
}
{

View file

@ -13,8 +13,14 @@ in {
serverAliases = [
hostname
];
locations."/wallpaper.png".extraConfig = ''
root /tmp/;
locations."/realwallpaper.png".extraConfig = ''
root /var/realwallpaper/;
'';
locations."/realwallpaper-sat.png".extraConfig = ''
root /var/realwallpaper/;
'';
locations."/realwallpaper-sat-krebs.png".extraConfig = ''
root /var/realwallpaper/;
'';
};