diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-06-02 18:18:57 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-06-02 18:18:57 +0200 |
commit | cd12041e267ff1a2c1d7cd0fabea1364bc587ec4 (patch) | |
tree | 8df67ad8e6a984198020fb5b8cf4e2ecf83724ad /custom | |
parent | dea8e06fc0a46b47c2465a2776509040ace64eb7 (diff) | |
download | nixos-cd12041e267ff1a2c1d7cd0fabea1364bc587ec4.tar nixos-cd12041e267ff1a2c1d7cd0fabea1364bc587ec4.tar.gz nixos-cd12041e267ff1a2c1d7cd0fabea1364bc587ec4.tar.bz2 nixos-cd12041e267ff1a2c1d7cd0fabea1364bc587ec4.tar.xz nixos-cd12041e267ff1a2c1d7cd0fabea1364bc587ec4.zip |
...
Diffstat (limited to 'custom')
-rw-r--r-- | custom/uucp-mediaclient.nix | 6 |
1 files changed, 3 insertions, 3 deletions
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 | |||
18 | inherit zsh coreutils utillinux; | 18 | inherit zsh coreutils utillinux; |
19 | wrapperdir = config.security.wrapperDir; | 19 | wrapperdir = config.security.wrapperDir; |
20 | mediadir = cfg.mediaDir; | 20 | mediadir = cfg.mediaDir; |
21 | donotify = cfg.notify.users != []; | 21 | donotify = if cfg.notify.users != [] then "true" else "false"; |
22 | showtitle = cfg.notify.extractTitle; | 22 | showtitle = if cfg.notify.extractTitle then "true" else "false"; |
23 | ffmpeg = if donotify then ffmpeg-full else "/no-such-path"; | 23 | ffmpeg = if cfg.notify.users != [] then ffmpeg-full else "/no-such-path"; |
24 | notify = writeScript "notify.sh" '' | 24 | notify = writeScript "notify.sh" '' |
25 | #!${zsh}/bin/zsh | 25 | #!${zsh}/bin/zsh |
26 | 26 | ||