diff --git a/hosts/snowbelle/snowbelle.nix b/hosts/snowbelle/snowbelle.nix index 3b2cd8a..7bb1ba6 100644 --- a/hosts/snowbelle/snowbelle.nix +++ b/hosts/snowbelle/snowbelle.nix @@ -11,7 +11,6 @@ ../../modules/homelab/zfs.nix ../../modules/homelab/smb.nix ../../modules/homelab/nfs.nix - ../../modules/homelab/cockpit.nix ]; # use the systemd-boot EFI boot loader. @@ -84,6 +83,7 @@ 7070 7567 7777 + 9090 25777 25565 25566 diff --git a/modules/homelab/cockpit.nix b/modules/homelab/cockpit.nix index 863c258..a95cbeb 100644 --- a/modules/homelab/cockpit.nix +++ b/modules/homelab/cockpit.nix @@ -5,6 +5,12 @@ enable = true; openFirewall = true; port = 9090; + allowed-origins = [ "http://0.0.0.0:9090" "https://0.0.0.0:9090" "http://localhost:9090" ]; + settings = { + WebService = { + AllowUnencrypted = true; + }; + }; }; }