Update module options to be compatible with nixpkgs 24.11

This commit is contained in:
fi 2024-12-01 00:35:31 +01:00
parent c973f90cb7
commit 74c12e9658
8 changed files with 47 additions and 55 deletions

View file

@ -25,5 +25,5 @@
};
};
system.stateVersion = "23.11";
system.stateVersion = "24.11";
}

View file

@ -1,8 +1,19 @@
{ nixpkgs-unstable, ... }:
{ ... }:
{
# The sonarr package is dependend on .NET 6 which is marked as insecure.
# It doesn't seem to build with the later .NET versions.
# In the meantime allow the installation of these insecure packages since sonarr is only reachable locally.
nixpkgs.config = {
permittedInsecurePackages = [
"aspnetcore-runtime-wrapped-6.0.36"
"aspnetcore-runtime-6.0.36"
"dotnet-sdk-wrapped-6.0.428"
"dotnet-sdk-6.0.428"
];
};
services.sonarr = {
enable = true;
package = nixpkgs-unstable.legacyPackages."x86_64-linux".sonarr;
user = "torrent";
group = "torrent";
};