18 lines
312 B
Nix
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" ];
|
|
};
|
|
}
|
|
|