···59 };
6061 nixpkgs.system = mkOption {
62- type = types.str;
63- default = builtins.currentSystem;
64 description = ''
65 Specifies the Nix platform type for which NixOS should be built.
66 If unset, it defaults to the platform type of your host system.
···59 };
6061 nixpkgs.system = mkOption {
62+ type = types.uniq types.str;
63+ example = "i686-linux";
64 description = ''
65 Specifies the Nix platform type for which NixOS should be built.
66 If unset, it defaults to the platform type of your host system.
···200201 package = mkOption {
202 type = types.package;
203- default = pkgs.bittorrentSync14;
204 example = literalExample "pkgs.bittorrentSync20";
205 description = ''
206 Branch of bittorrent sync to use.
···276 message = "If you're using an API key, you must enable the web server.";
277 }
278 ];
00279280 users.extraUsers.btsync = {
281 description = "Bittorrent Sync Service user";
···200201 package = mkOption {
202 type = types.package;
0203 example = literalExample "pkgs.bittorrentSync20";
204 description = ''
205 Branch of bittorrent sync to use.
···275 message = "If you're using an API key, you must enable the web server.";
276 }
277 ];
278+279+ services.btsync.package = mkOptionDefault pkgs.bittorrentSync14;
280281 users.extraUsers.btsync = {
282 description = "Bittorrent Sync Service user";