From 3eef61a6eb4f1f53491c94dfcb0413ef3d71c129 Mon Sep 17 00:00:00 2001 From: "Nicolas B. Pierron" Date: Wed, 8 Apr 2015 23:10:42 +0200 Subject: NixOS Manual: Do not use unfree packages as default value. --- nixos/modules/services/networking/btsync.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nixos/modules/services/networking/btsync.nix') 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; -- cgit 1.4.1