chore(idp): rename ipa web access

This commit is contained in:
arcnmx 2024-04-15 13:34:17 -07:00
parent f776a268fb
commit 1fed0eb15f
6 changed files with 11 additions and 8 deletions

View file

@ -152,7 +152,7 @@
enable = mkEnableOption "IPA";
httpHost = mkOption {
type = str;
default = "freeipa.${config.domain}";
default = "ipa.${config.domain}";
};
host = mkOption {
type = str;
@ -246,8 +246,8 @@
servers = optional access.local.enable "idp.local.${config.domain}"
++ [ "_srv" ];
backups = mkMerge [
(mkIf access.tail.enabled (mkAlmostOptionDefault [ "freeipa.tail.${config.domain}" ]))
(mkIf access.local.enable (mkAlmostOptionDefault [ "freeipa.local.${config.domain}" ]))
(mkIf access.tail.enabled (mkAlmostOptionDefault [ "ipa.tail.${config.domain}" ]))
(mkIf access.local.enable (mkAlmostOptionDefault [ "ipa.local.${config.domain}" ]))
];
in mkIf config.sssd.enable {
enable = mkAlmostOptionDefault true;

View file

@ -3,7 +3,7 @@
inherit (lib.attrsets) mapAttrs;
in {
config.exports.services.freeipa = {
id = mkAlmostOptionDefault "freeipa";
id = mkAlmostOptionDefault "ipa";
ports = mapAttrs (_: mapAlmostOptionDefaults) {
default = {
port = 443;