mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
19 lines
417 B
Nix
19 lines
417 B
Nix
{
|
|
lib,
|
|
gensokyo-zone,
|
|
...
|
|
}: let
|
|
inherit (gensokyo-zone.lib) mapAlmostOptionDefaults mkAlmostOptionDefault;
|
|
inherit (lib.attrsets) mapAttrs;
|
|
in {
|
|
# fedora server web ui
|
|
config.exports.services.cockpit = {
|
|
defaults.port.listen = mkAlmostOptionDefault "lan";
|
|
ports = mapAttrs (_: mapAlmostOptionDefaults) {
|
|
default = {
|
|
port = 9090;
|
|
protocol = "https";
|
|
};
|
|
};
|
|
};
|
|
}
|