Commit d0384931b574

Vincent Demeester <vincent@sbr.pm>
2018-12-16 15:34:53
service.syncthing: use config package
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 0b832d5
Changed files (1)
modules
modules/services/syncthing.nix
@@ -120,7 +120,7 @@ in {
       allowedUDPPorts = [ 21027 ];
     };
 
-    systemd.packages = [ pkgs.syncthing ];
+    systemd.packages = [ cfg.package ];
 
     users = mkIf (cfg.user == defaultUser) {
       users."${defaultUser}" =