mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
NixOS Manual: Do not use unfree packages as default value.
This commit is contained in:
parent
458c8381e0
commit
3eef61a6eb
1 changed files with 2 additions and 1 deletions
|
@ -200,7 +200,6 @@ in
|
||||||
|
|
||||||
package = mkOption {
|
package = mkOption {
|
||||||
type = types.package;
|
type = types.package;
|
||||||
default = pkgs.bittorrentSync14;
|
|
||||||
example = literalExample "pkgs.bittorrentSync20";
|
example = literalExample "pkgs.bittorrentSync20";
|
||||||
description = ''
|
description = ''
|
||||||
Branch of bittorrent sync to use.
|
Branch of bittorrent sync to use.
|
||||||
|
@ -277,6 +276,8 @@ in
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
services.btsync.package = mkOptionDefault pkgs.bittorrentSync14;
|
||||||
|
|
||||||
users.extraUsers.btsync = {
|
users.extraUsers.btsync = {
|
||||||
description = "Bittorrent Sync Service user";
|
description = "Bittorrent Sync Service user";
|
||||||
home = cfg.storagePath;
|
home = cfg.storagePath;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue