summaryrefslogtreecommitdiffstats
path: root/lass
diff options
context:
space:
mode:
authorlassulus <lass@blue.r>2018-11-10 21:46:12 +0100
committerlassulus <lass@blue.r>2018-11-10 21:46:50 +0100
commit30a6c5219a120b7323e46c621a21da7ab8fc1d29 (patch)
treede244ca56f422309ff226d21ec1b66455afa0090 /lass
parentd41f85b671433be0576f03554e92d4756e608c75 (diff)
l realwallpaper: chmod +x
Diffstat (limited to 'lass')
-rw-r--r--lass/2configs/realwallpaper.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/lass/2configs/realwallpaper.nix b/lass/2configs/realwallpaper.nix
index 16b999817..e0cb37f67 100644
--- a/lass/2configs/realwallpaper.nix
+++ b/lass/2configs/realwallpaper.nix
@@ -1,4 +1,4 @@
-{ config, lib, ... }:
+{ config, lib, pkgs, ... }:
let
hostname = config.krebs.build.host.name;
@@ -9,6 +9,9 @@ let
in {
krebs.realwallpaper.enable = true;
+ system.activationScripts.user-shadow = ''
+ ${pkgs.coreutils}/bin/chmod +x /var/realwallpaper
+ '';
services.nginx.virtualHosts.wallpaper = {
extraConfig = ''
if ( $server_addr = "${config.krebs.build.host.nets.internet.ip4.addr}" ) {