summary refs log tree commit diff
path: root/nixos/modules/services/networking/btsync.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/networking/btsync.nix')
-rw-r--r--nixos/modules/services/networking/btsync.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/btsync.nix b/nixos/modules/services/networking/btsync.nix
index 0bfd3b74348f..8b90f295ed46 100644
--- a/nixos/modules/services/networking/btsync.nix
+++ b/nixos/modules/services/networking/btsync.nix
@@ -200,7 +200,6 @@ in
 
       package = mkOption {
         type = types.package;
-        default = pkgs.bittorrentSync14;
         example = literalExample "pkgs.bittorrentSync20";
         description = ''
           Branch of bittorrent sync to use.
@@ -277,6 +276,8 @@ in
         }
       ];
 
+    services.btsync.package = mkOptionDefault pkgs.bittorrentSync14;
+
     users.extraUsers.btsync = {
       description     = "Bittorrent Sync Service user";
       home            = cfg.storagePath;