git.iko.soy/typeable/nixpkgs
on master help sign in
NixOS Manual: Do not use unfree packages as default value.
commit3eef61a6eb4f1f53491c94dfcb0413ef3d71c129 authorNicolas B. Pierron <nicolas.b.pierron@gmail.com> dateWed 8 Apr 2015, 23:10 (12 years ago) parent458c838
1 file changed+2−1
nixos/modules/services/networking/btsync.nix+2−1
nixos/modules/services/networking/btsync.nix+2−1
@@ -200,7 +200,6 @@ in
200200
201201 package = mkOption {
202202 type = types.package;
203− default = pkgs.bittorrentSync14;
204203 example = literalExample "pkgs.bittorrentSync20";
205204 description = ''
206205 Branch of bittorrent sync to use.
@@ -277,6 +276,8 @@ in
277276 }
278277 ];
279278
279+ services.btsync.package = mkOptionDefault pkgs.bittorrentSync14;
280+
280281 users.extraUsers.btsync = {
281282 description = "Bittorrent Sync Service user";
282283 home = cfg.storagePath;