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 {
|
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…
x
Reference in New Issue
Block a user