diff options
author | volth <volth@volth.com> | 2019-08-13 21:52:01 +0000 |
---|---|---|
committer | volth <volth@volth.com> | 2019-08-26 21:40:19 +0000 |
commit | 35d68ef143412f579544eaac7aaa87e29f84b15e (patch) | |
tree | 7e4cc2079e73fde7e1cacdbeb17a4ea290f0a02e /nixos/modules/services/torrent | |
parent | fe9c9f719d143632d31ac2b01f5f7cfbad161ce1 (diff) | |
download | nixpkgs-35d68ef143412f579544eaac7aaa87e29f84b15e.tar nixpkgs-35d68ef143412f579544eaac7aaa87e29f84b15e.tar.gz nixpkgs-35d68ef143412f579544eaac7aaa87e29f84b15e.tar.bz2 nixpkgs-35d68ef143412f579544eaac7aaa87e29f84b15e.tar.lz nixpkgs-35d68ef143412f579544eaac7aaa87e29f84b15e.tar.xz nixpkgs-35d68ef143412f579544eaac7aaa87e29f84b15e.tar.zst nixpkgs-35d68ef143412f579544eaac7aaa87e29f84b15e.zip |
treewide: remove redundant quotes
Diffstat (limited to 'nixos/modules/services/torrent')
-rw-r--r-- | nixos/modules/services/torrent/deluge.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/services/torrent/deluge.nix b/nixos/modules/services/torrent/deluge.nix index 48ec4d692e2..18fdacaf97b 100644 --- a/nixos/modules/services/torrent/deluge.nix +++ b/nixos/modules/services/torrent/deluge.nix @@ -174,11 +174,11 @@ in { services.deluge.extraPackages = with pkgs; [ unzip gnutar xz p7zip bzip2 ]; systemd.tmpfiles.rules = [ "d '${configDir}' 0770 ${cfg.user} ${cfg.group}" ] - ++ optional (cfg.config ? "download_location") + ++ optional (cfg.config ? download_location) "d '${cfg.config.download_location}' 0770 ${cfg.user} ${cfg.group}" - ++ optional (cfg.config ? "torrentfiles_location") + ++ optional (cfg.config ? torrentfiles_location) "d '${cfg.config.torrentfiles_location}' 0770 ${cfg.user} ${cfg.group}" - ++ optional (cfg.config ? "move_completed_path") + ++ optional (cfg.config ? move_completed_path) "d '${cfg.config.move_completed_path}' 0770 ${cfg.user} ${cfg.group}"; systemd.services.deluged = { |