mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 23:20:55 +00:00
NixOS Manual: Do not use unfree packages as default value.
This commit is contained in:
parent
458c8381e0
commit
3eef61a6eb
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue