weilite: add insecure dotnet required by sonarr

This commit is contained in:
xinyangli 2024-12-03 16:39:34 +08:00
parent bd4d7b5217
commit 4169513ead
Signed by: xin
SSH key fingerprint: SHA256:UU5pRTl7NiLFJbWJZa+snLylZSXIz5rgHmwjzv8v4oE
4 changed files with 17 additions and 3 deletions

View file

@ -13,6 +13,13 @@
openFirewall = false;
};
nixpkgs.config.permittedInsecurePackages = [
"aspnetcore-runtime-6.0.36"
"aspnetcore-runtime-wrapped-6.0.36"
"dotnet-sdk-6.0.428"
"dotnet-sdk-wrapped-6.0.428"
];
services.sonarr = {
enable = true;
};

View file

@ -35,6 +35,8 @@ in
services.restic.backups = builtins.listToAttrs [
(mkPrune "xin" "calcite")
(mkPrune "xin" "massicot")
(mkPrune "xin" "biotite")
(mkPrune "xin" "thorite")
];
networking.firewall.allowedTCPPorts = [ 8443 ];