diff --git a/flake.nix b/flake.nix index 1090ef7..41240bc 100644 --- a/flake.nix +++ b/flake.nix @@ -44,6 +44,7 @@ mail = mksdImage "mail"; management = mksdImage "management"; nextcloud = mksdImage "nextcloud"; + pihole = mksdImage "pihole"; }; nixosConfigurations = { gwyn = mkComputer { @@ -78,7 +79,7 @@ hostname = "nextcloud"; inherit custom; }; - pihole = mkComputer { + pihole = mkRaspi { hostname = "pihole"; inherit custom; }; diff --git a/systems/pihole/default.nix b/systems/pihole/default.nix index 5c238d9..029529b 100644 --- a/systems/pihole/default.nix +++ b/systems/pihole/default.nix @@ -1,7 +1,7 @@ { custom, hostname }: { pkgs, ... }: { imports = [ - (import "${custom.inputs.self}/systems/proxmox-vm" { + (import "${custom.inputs.self}/systems/raspi4" { ip = "10.7.89.2"; inherit custom hostname; })