Nix: Allow insecure dotnet.

This commit is contained in:
Dmitry Voronin 2024-12-02 01:29:11 +03:00
parent 32a0bfd63c
commit afd3d5d80e
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -1,5 +1,10 @@
{ ... }: { { ... }: {
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
nixpkgs.config.permittedInsecurePackages = [
"dotnet-runtime-6.0.36" # HACK: I hate Nix for this.
"dotnet-sdk-wrapped-6.0.428"
"dotnet-sdk-6.0.428"
];
nix.settings = { nix.settings = {
auto-optimise-store = true; auto-optimise-store = true;
keep-derivations = true; keep-derivations = true;