diff --git a/modules/services/random-background.nix b/modules/services/random-background.nix index d0412310c..c221740ca 100644 --- a/modules/services/random-background.nix +++ b/modules/services/random-background.nix @@ -46,7 +46,7 @@ in Service = { Type = "oneshot"; - ExecStart = "${pkgs.feh}/bin/feh --randomize --bg-fill %h/backgrounds/"; + ExecStart = "${pkgs.feh}/bin/feh --randomize --bg-fill ${cfg.imageDirectory}"; IOSchedulingClass = "idle"; };