mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
feat(idp): cockpit access
This commit is contained in:
parent
f826d2bb4a
commit
c51febd94d
6 changed files with 57 additions and 8 deletions
15
modules/system/exports/cockpit.nix
Normal file
15
modules/system/exports/cockpit.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue