summaryrefslogtreecommitdiffstats
path: root/lass/2configs/fetchWallpaper.nix
blob: fc5acce31b40a3a99fc31ffc109a37d0d7b5263e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ config, pkgs, ... }:

let

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