stockholm/lass/2configs/fetchWallpaper.nix
2017-01-22 17:47:45 +01:00

17 lines
294 B
Nix

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