From 8b5d19e6b7cd9fbc23d776e69963d88b3c67910b Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Sun, 25 Jun 2017 16:56:54 +0200 Subject: [PATCH] random-background: actually use image directory option --- modules/services/random-background.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; };