diff --git a/flake.nix b/flake.nix index 713f446..0b5089a 100644 --- a/flake.nix +++ b/flake.nix @@ -36,6 +36,12 @@ }) (builtins.attrNames (builtins.readDir ./hosts/nixos)) ); + hydraJobs = { + inherit (self) + nixosConfigurations + ; + }; + # For later, to enable if we get any darwin hosts # darwinConfigurations = builtins.listToAttrs ( # map (host: { diff --git a/hosts/nixos/Parzival/default.nix b/hosts/nixos/Parzival/default.nix index 2699552..667dfac 100644 --- a/hosts/nixos/Parzival/default.nix +++ b/hosts/nixos/Parzival/default.nix @@ -36,9 +36,9 @@ "hosts/common/optional/bluetooth.nix" "hosts/common/optional/pentesting.nix" "hosts/common/optional/gaming.nix" + "hosts/common/optional/podman.nix" "hosts/common/optional/vbox.nix" "hosts/common/optional/printing.nix" - "hosts/common/optional/docker.nix" "modules/services/ollama" "modules/services/jellyfin" "modules/services/mesh/client.nix" @@ -79,4 +79,11 @@ environment.systemPackages = with pkgs; [ linux-wallpaperengine ]; + + services.hydra = { + enable = true; + hydraURL = "http://localhost:3000"; + notificationSender = "hydra@localhost"; + useSubstitutes = true; + }; }