mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-12 02:04:09 -05:00
only accept those dotnet EOL packages if needed
This commit is contained in:
parent
84aa6d6df7
commit
2fea4f7952
1 changed files with 17 additions and 6 deletions
|
|
@ -1,4 +1,8 @@
|
|||
{pkgs, ...}: {
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
config = {
|
||||
system.stateVersion = "24.05";
|
||||
time.timeZone = "America/New_York";
|
||||
|
|
@ -25,11 +29,18 @@
|
|||
nixpkgs = {
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
permittedInsecurePackages = [
|
||||
"dotnet-runtime-wrapped-7.0.20"
|
||||
"dotnet-runtime-7.0.20"
|
||||
"SDL_ttf-2.0.11"
|
||||
];
|
||||
permittedInsecurePackages =
|
||||
[
|
||||
"SDL_ttf-2.0.11"
|
||||
]
|
||||
++ (
|
||||
if config.module.gaming.enable
|
||||
then [
|
||||
"dotnet-runtime-wrapped-7.0.20"
|
||||
"dotnet-runtime-7.0.20"
|
||||
]
|
||||
else []
|
||||
);
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue