lol

nixos/rss2email: remove unnecessary cfg file indirection to fix test (#200108)

Previously, the NixOS test often failed as the copied config file is not
overwriteable. In actual setups, the restart interval is much bigger, such that
systemd-tmpfiles will correct the permissions inbetween.

authored by

amesgen and committed by
GitHub
733ea72e 717ccacc

+1 -2
+1 -2
nixos/modules/services/mail/rss2email.nix
··· 110 110 in 111 111 { 112 112 preStart = '' 113 - cp ${conf} /var/rss2email/conf.cfg 114 113 if [ ! -f /var/rss2email/db.json ]; then 115 114 echo '{"version":2,"feeds":[]}' > /var/rss2email/db.json 116 115 fi ··· 118 117 path = [ pkgs.system-sendmail ]; 119 118 serviceConfig = { 120 119 ExecStart = 121 - "${pkgs.rss2email}/bin/r2e -c /var/rss2email/conf.cfg -d /var/rss2email/db.json run"; 120 + "${pkgs.rss2email}/bin/r2e -c ${conf} -d /var/rss2email/db.json run"; 122 121 User = "rss2email"; 123 122 }; 124 123 };