mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
hosts/plover/setups/development: enable Cockpit server
This commit is contained in:
parent
8de1a2e66d
commit
15dc3b7b6b
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user