stockholm/lass/2configs/fetchWallpaper.nix
2017-01-26 23:59:54 +01:00

18 lines
312 B
Nix

{ config, pkgs, ... }:
let
in {
krebs.fetchWallpaper = {
enable = true;
unitConfig.ConditionPathExists = "!/var/run/ppp0.pid";
url = "prism/wallpaper.png";
maxTime = 10;
};
systemd.services.fetchWallpaper = {
after = [ "xmonad.service" ];
wantedBy = [ "xmonad.service" ];
};
}