summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorNicolas B. Pierron <nicolas.b.pierron@gmail.com>2015-04-08 23:10:42 +0200
committerNicolas B. Pierron <nicolas.b.pierron@gmail.com>2015-04-08 23:14:19 +0200
commit3eef61a6eb4f1f53491c94dfcb0413ef3d71c129 (patch)
tree5e7203e55c1b4c54fc76339a1e4bd732be524955 /nixos
parent458c8381e03bfbd8970699a67ee4a77be587a1e1 (diff)
downloadnixpkgs-3eef61a6eb4f1f53491c94dfcb0413ef3d71c129.tar
nixpkgs-3eef61a6eb4f1f53491c94dfcb0413ef3d71c129.tar.gz
nixpkgs-3eef61a6eb4f1f53491c94dfcb0413ef3d71c129.tar.bz2
nixpkgs-3eef61a6eb4f1f53491c94dfcb0413ef3d71c129.tar.lz
nixpkgs-3eef61a6eb4f1f53491c94dfcb0413ef3d71c129.tar.xz
nixpkgs-3eef61a6eb4f1f53491c94dfcb0413ef3d71c129.tar.zst
nixpkgs-3eef61a6eb4f1f53491c94dfcb0413ef3d71c129.zip
NixOS Manual: Do not use unfree packages as default value.
Diffstat (limited to 'nixos')
-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 0bfd3b74348..8b90f295ed4 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;