This commit is contained in:
rasmus-kirk
2025-10-23 15:13:10 +02:00
parent e74e0d83ee
commit e8312dfa78
4 changed files with 58 additions and 63 deletions
Generated
+10 -10
View File
@@ -2,16 +2,16 @@
"nodes": { "nodes": {
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1750183894, "lastModified": 1761016216,
"narHash": "sha256-ZtOgEt70keBVB4YJc+z7m0h7J1BOlv/GjHE1YC6KxeA=", "narHash": "sha256-G/iC4t/9j/52i/nm+0/4ybBmAF4hzR8CNHC75qEhjHo=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "f45e75fc63fc8a7ffc3da382b2f6b681c5b71875", "rev": "481cf557888e05d3128a76f14c76397b7d7cc869",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nixos", "owner": "nixos",
"ref": "nixpkgs-unstable", "ref": "nixos-25.05",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
@@ -25,11 +25,11 @@
}, },
"vpnconfinement": { "vpnconfinement": {
"locked": { "locked": {
"lastModified": 1749672087, "lastModified": 1759956062,
"narHash": "sha256-j8LG0s0QcvNkZZLcItl78lvTZemvsScir0dG3Ii4B1c=", "narHash": "sha256-NUZu0Rb0fwUjfdp51zMm0xM3lcK8Kw4c97LLog7+JjA=",
"owner": "Maroka-chan", "owner": "Maroka-chan",
"repo": "VPN-Confinement", "repo": "VPN-Confinement",
"rev": "880b3bd2c864dce4f6afc79f6580ca699294c011", "rev": "fabe7247b720b5eb4c3c053e24a2b3b70e64c52b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -45,11 +45,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1750317638, "lastModified": 1753958235,
"narHash": "sha256-B4RWcXXOLO6gMeYyV+K4olu+kGGsYamKH+JAm0cIXqI=", "narHash": "sha256-Rd27XQJKv8Z4BCr3gdbaHFd0TmumiGxdjGRzsEf/mOg=",
"owner": "rasmus-kirk", "owner": "rasmus-kirk",
"repo": "website-builder", "repo": "website-builder",
"rev": "b54192000a00e865947f45bacf3184d56363ee38", "rev": "00a14b7ae7baef2197978ba7c3fe72dfca7bc475",
"type": "github" "type": "github"
}, },
"original": { "original": {
+1 -1
View File
@@ -2,7 +2,7 @@
description = "The Nixarr Media Server Nixos Module"; description = "The Nixarr Media Server Nixos Module";
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
vpnconfinement.url = "github:Maroka-chan/VPN-Confinement"; vpnconfinement.url = "github:Maroka-chan/VPN-Confinement";
-1
View File
@@ -98,7 +98,6 @@ in {
--port ${toString cfg.port} \ --port ${toString cfg.port} \
--no-update True --no-update True
''; '';
KillSignal = "SIGINT";
Restart = "on-failure"; Restart = "on-failure";
KillSignal = "SIGINT"; KillSignal = "SIGINT";
SuccessExitStatus = "0 156"; SuccessExitStatus = "0 156";
+47 -51
View File
@@ -25,7 +25,7 @@ pkgs.nixosTest {
transmission = { transmission = {
enable = true; enable = true;
privateTrackers.cross-seed.enable = true; # privateTrackers.cross-seed.enable = true;
}; };
autobrr.enable = true; autobrr.enable = true;
@@ -37,51 +37,51 @@ pkgs.nixosTest {
sabnzbd.enable = true; sabnzbd.enable = true;
lidarr.enable = true; lidarr.enable = true;
prowlarr.enable = true; prowlarr.enable = true;
recyclarr = { # recyclarr = {
enable = true; # enable = true;
configuration = { # configuration = {
sonarr.series = { # sonarr.series = {
base_url = "http://localhost:8989"; # base_url = "http://localhost:8989";
api_key = "!env_var SONARR_API_KEY"; # api_key = "!env_var SONARR_API_KEY";
quality_definition.type = "series"; # quality_definition.type = "series";
delete_old_custom_formats = true; # delete_old_custom_formats = true;
custom_formats = [ # custom_formats = [
{ # {
trash_ids = [ # trash_ids = [
"85c61753df5da1fb2aab6f2a47426b09" # BR-DISK # "85c61753df5da1fb2aab6f2a47426b09" # BR-DISK
"9c11cd3f07101cdba90a2d81cf0e56b4" # LQ # "9c11cd3f07101cdba90a2d81cf0e56b4" # LQ
]; # ];
assign_scores_to = [ # assign_scores_to = [
{ # {
name = "WEB-DL (1080p)"; # name = "WEB-DL (1080p)";
score = -10000; # score = -10000;
} # }
]; # ];
} # }
]; # ];
}; # };
radarr.movies = { # radarr.movies = {
base_url = "http://localhost:7878"; # base_url = "http://localhost:7878";
api_key = "!env_var RADARR_API_KEY"; # api_key = "!env_var RADARR_API_KEY";
quality_definition.type = "movie"; # quality_definition.type = "movie";
delete_old_custom_formats = true; # delete_old_custom_formats = true;
custom_formats = [ # custom_formats = [
{ # {
trash_ids = [ # trash_ids = [
"570bc9ebecd92723d2d21500f4be314c" # Remaster # "570bc9ebecd92723d2d21500f4be314c" # Remaster
"eca37840c13c6ef2dd0262b141a5482f" # 4K Remaster # "eca37840c13c6ef2dd0262b141a5482f" # 4K Remaster
]; # ];
assign_scores_to = [ # assign_scores_to = [
{ # {
name = "HD Bluray + WEB"; # name = "HD Bluray + WEB";
score = 25; # score = 25;
} # }
]; # ];
} # }
]; # ];
}; # };
}; # };
}; # };
}; };
# Create a test user to verify mediaUsers functionality # Create a test user to verify mediaUsers functionality
@@ -109,11 +109,7 @@ pkgs.nixosTest {
machine.succeed("systemctl is-active sabnzbd") machine.succeed("systemctl is-active sabnzbd")
machine.succeed("systemctl is-active lidarr") machine.succeed("systemctl is-active lidarr")
machine.succeed("systemctl is-active prowlarr") machine.succeed("systemctl is-active prowlarr")
machine.succeed("systemctl is-active recyclarr") # machine.succeed("systemctl is-active recyclarr")
machine.succeed("nixarr list-api-keys")
machine.succeed("nixarr fix-permissions")
machine.succeed("nixarr wipe-uids-gids")
print("\n=== Nixarr Simple Test Completed ===") print("\n=== Nixarr Simple Test Completed ===")
''; '';