summaryrefslogtreecommitdiffstats
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
parent458c8381e03bfbd8970699a67ee4a77be587a1e1 (diff)
NixOS Manual: Do not use unfree packages as default value.
-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;