22 lines
520 B
Nix
22 lines
520 B
Nix
{config, ...}: {
|
|
nix = {
|
|
gc = {
|
|
automatic = true;
|
|
options = "--delete-older-than 30d";
|
|
};
|
|
settings = {
|
|
auto-optimise-store = true;
|
|
experimental-features = ["nix-command" "flakes"];
|
|
trusted-users = [config.constants.userName];
|
|
};
|
|
};
|
|
nixpkgs = {
|
|
config.allowUnfree = true;
|
|
config.permittedInsecurePackages = [
|
|
"aspnetcore-runtime-6.0.36"
|
|
"aspnetcore-runtime-wrapped-6.0.36"
|
|
"dotnet-sdk-6.0.428"
|
|
"dotnet-sdk-wrapped-6.0.428"
|
|
];
|
|
};
|
|
}
|