mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
12 lines
368 B
Nix
12 lines
368 B
Nix
{lib, gensokyo-zone, ...}: let
|
|
inherit (gensokyo-zone.lib) mapAlmostOptionDefaults mkAlmostOptionDefault;
|
|
in {
|
|
config.exports.services.proxmox = { config, ... }: {
|
|
id = mkAlmostOptionDefault "prox";
|
|
defaults.port.listen = mkAlmostOptionDefault "lan";
|
|
ports.default = mapAlmostOptionDefaults {
|
|
port = 8006;
|
|
protocol = "https";
|
|
};
|
|
};
|
|
}
|