From cd12041e267ff1a2c1d7cd0fabea1364bc587ec4 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 2 Jun 2018 18:18:57 +0200 Subject: ... --- custom/uucp-mediaclient.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'custom') diff --git a/custom/uucp-mediaclient.nix b/custom/uucp-mediaclient.nix index 2847ebe8..a9a3477c 100644 --- a/custom/uucp-mediaclient.nix +++ b/custom/uucp-mediaclient.nix @@ -18,9 +18,9 @@ let inherit zsh coreutils utillinux; wrapperdir = config.security.wrapperDir; mediadir = cfg.mediaDir; - donotify = cfg.notify.users != []; - showtitle = cfg.notify.extractTitle; - ffmpeg = if donotify then ffmpeg-full else "/no-such-path"; + donotify = if cfg.notify.users != [] then "true" else "false"; + showtitle = if cfg.notify.extractTitle then "true" else "false"; + ffmpeg = if cfg.notify.users != [] then ffmpeg-full else "/no-such-path"; notify = writeScript "notify.sh" '' #!${zsh}/bin/zsh -- cgit v1.2.3