More valid default settings (#59)

This commit is contained in:
Ana Hobden 2022-11-21 10:50:12 -08:00 committed by GitHub
parent a87f1f997c
commit b06ad289fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -137,8 +137,12 @@ impl CommonSettings {
};
Ok(Self {
daemon_user_count: Default::default(),
channels: Vec::default(),
daemon_user_count: 32,
channels: vec![ChannelValue(
"nixpkgs".into(),
reqwest::Url::parse("https://nixos.org/channels/nixpkgs-unstable")
.expect("Embedded default URL was not a URL, please report this"),
)],
modify_profile: true,
nix_build_group_name: String::from("nixbld"),
nix_build_group_id: 3000,