diff --git a/modules/system/homelab/control.nix b/modules/system/homelab/control.nix new file mode 100644 index 0000000..82e55c3 --- /dev/null +++ b/modules/system/homelab/control.nix @@ -0,0 +1,9 @@ +{ homelab, pkgs, ... }: { + services.cockpit = { + enable = true; + allowed-origins = [ "control.${homelab.proxy.base}" ]; + plugins = with pkgs; [ + cockpit-files cockpit-machines + ]; + }; +} \ No newline at end of file diff --git a/modules/system/server.nix b/modules/system/server.nix index 9db8dfa..b59dffe 100644 --- a/modules/system/server.nix +++ b/modules/system/server.nix @@ -11,6 +11,7 @@ in { ./homelab/containers.nix ./homelab/gallery.nix ./homelab/tunnels.nix + ./homelab/control.nix ./homelab/notify.nix ./homelab/search.nix ./homelab/media.nix