hosts/plover/setups/development: enable Cockpit server

This commit is contained in:
Gabriel Arazas 2024-12-16 22:33:37 +08:00
parent 8de1a2e66d
commit 15dc3b7b6b
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360

View File

@ -67,6 +67,16 @@ in
} }
(lib.mkIf config.suites.dev.containers.enable { (lib.mkIf config.suites.dev.containers.enable {
state.ports.cockpit.value = 9090;
services.cockpit = {
enable = true;
port = config.state.ports.cockpit.value;
settings = {
WebService.AllowUnencrypted = true;
};
};
# Setting up a single-node k3s cluster for learning purposes. # Setting up a single-node k3s cluster for learning purposes.
services.k3s = { services.k3s = {
enable = true; enable = true;