diff --git a/flake.lock b/flake.lock index b91ba33..1ab41db 100644 --- a/flake.lock +++ b/flake.lock @@ -104,11 +104,11 @@ ] }, "locked": { - "lastModified": 1635273082, - "narHash": "sha256-EHiDP2jEa7Ai5ZwIf5uld9RVFcV77+2SUxjQXwJsJa0=", + "lastModified": 1715873341, + "narHash": "sha256-vOTcr7KXhNDvYPwGotjxcLBrrUq/Nt3sfKRtFwGdHGo=", "owner": "nix-community", "repo": "dns.nix", - "rev": "c7b9645da9c0ddce4f9de4ef27ec01bb8108039a", + "rev": "9ebfa9158290de09fafcc759211e48bda48329ee", "type": "github" }, "original": { @@ -332,11 +332,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1715534503, - "narHash": "sha256-5ZSVkFadZbFP1THataCaSf0JH2cAH3S29hU9rrxTEqk=", + "lastModified": 1715787315, + "narHash": "sha256-cYApT0NXJfqBkKcci7D9Kr4CBYZKOQKDYA23q8XNuWg=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "2057814051972fa1453ddfb0d98badbea9b83c06", + "rev": "33d1e753c82ffc557b4a585c77de43d4c922ebb5", "type": "github" }, "original": { diff --git a/hosts/nuc/default.nix b/hosts/nuc/default.nix index 4fcbd32..fca901e 100644 --- a/hosts/nuc/default.nix +++ b/hosts/nuc/default.nix @@ -16,6 +16,7 @@ ./modules/torrent ./modules/vaultwarden ./modules/nginx + ./modules/indexing ]; nix.settings.system-features = [ "gccarch-tigerlake" ]; diff --git a/hosts/nuc/modules/indexing/default.nix b/hosts/nuc/modules/indexing/default.nix new file mode 100644 index 0000000..c0daa48 --- /dev/null +++ b/hosts/nuc/modules/indexing/default.nix @@ -0,0 +1,7 @@ +{ + imports = [ + ./prowlarr.nix + ./radarr.nix + ./sonarr.nix + ]; +} diff --git a/hosts/nuc/modules/indexing/prowlarr.nix b/hosts/nuc/modules/indexing/prowlarr.nix new file mode 100644 index 0000000..03bc1b8 --- /dev/null +++ b/hosts/nuc/modules/indexing/prowlarr.nix @@ -0,0 +1,7 @@ +{ ... }: +{ + services.prowlarr = { + enable = true; + openFirewall = true; + }; +} diff --git a/hosts/nuc/modules/indexing/radarr.nix b/hosts/nuc/modules/indexing/radarr.nix new file mode 100644 index 0000000..f56365f --- /dev/null +++ b/hosts/nuc/modules/indexing/radarr.nix @@ -0,0 +1,7 @@ +{ ... }: +{ + services.radarr = { + enable = true; + openFirewall = true; + }; +} diff --git a/hosts/nuc/modules/indexing/sonarr.nix b/hosts/nuc/modules/indexing/sonarr.nix new file mode 100644 index 0000000..92f5cc0 --- /dev/null +++ b/hosts/nuc/modules/indexing/sonarr.nix @@ -0,0 +1,7 @@ +{ ... }: +{ + services.sonarr = { + enable = true; + openFirewall = true; + }; +}