From 409c927fff807da53348428c4aafe47c840b0b2e Mon Sep 17 00:00:00 2001 From: Victor Date: Fri, 19 May 2023 15:16:07 +0200 Subject: [PATCH] fixes --- README.md | 2 +- nixos/hosts/hades/overseerr/overseerr.nix | 2 +- nixos/hosts/hades/overseerr/prowlarr.nix | 2 +- nixos/hosts/hades/overseerr/radarr.nix | 2 +- nixos/hosts/hades/unifi/configuration.nix | 2 ++ 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index caceedb..d55c001 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# 0x76's Infrastructure +# 0x76's Infrastructure This repository contains my fleet of VMs, Containers and Bare Metal machines. ## Directory Structure diff --git a/nixos/hosts/hades/overseerr/overseerr.nix b/nixos/hosts/hades/overseerr/overseerr.nix index a254dcf..c078799 100644 --- a/nixos/hosts/hades/overseerr/overseerr.nix +++ b/nixos/hosts/hades/overseerr/overseerr.nix @@ -1,4 +1,4 @@ -{ ... }: { +_: { networking.firewall.allowedTCPPorts = [ 5055 ]; # TODO: Write NixOS package https://github.com/NixOS/nixpkgs/issues/135885 virtualisation.oci-containers.containers.overseerr = { diff --git a/nixos/hosts/hades/overseerr/prowlarr.nix b/nixos/hosts/hades/overseerr/prowlarr.nix index 8c2b7f9..dd39cbc 100644 --- a/nixos/hosts/hades/overseerr/prowlarr.nix +++ b/nixos/hosts/hades/overseerr/prowlarr.nix @@ -1,4 +1,4 @@ -{ ... }: { +_: { services.prowlarr = { enable = true; openFirewall = true; diff --git a/nixos/hosts/hades/overseerr/radarr.nix b/nixos/hosts/hades/overseerr/radarr.nix index f1a10b5..94f0c43 100644 --- a/nixos/hosts/hades/overseerr/radarr.nix +++ b/nixos/hosts/hades/overseerr/radarr.nix @@ -1,4 +1,4 @@ -{ ... }: { +_: { services.radarr = { enable = true; openFirewall = true; diff --git a/nixos/hosts/hades/unifi/configuration.nix b/nixos/hosts/hades/unifi/configuration.nix index 66d9ee0..f4c3e5f 100644 --- a/nixos/hosts/hades/unifi/configuration.nix +++ b/nixos/hosts/hades/unifi/configuration.nix @@ -2,6 +2,8 @@ system.stateVersion = "21.05"; networking.interfaces.eth0.useDHCP = true; + environment.systemPackages = [ pkgs.mongodb-4_2 ]; + services.unifi = { enable = true; unifiPackage = pkgs.unifi;