Unverified Commit 059d5feb authored by Marcel's avatar Marcel
Browse files

nixos/ipa: migrate ipa/default.conf to rfc42

parent 43f5b6ea
Loading
Loading
Loading
Loading
+13 −10
Original line number Diff line number Diff line
@@ -146,16 +146,19 @@ in
    ];

    environment.etc = {
      "ipa/default.conf".text = ''
        [global]
        basedn = ${cfg.basedn}
        realm = ${cfg.realm}
        domain = ${cfg.domain}
        server = ${cfg.server}
        host = ${cfg.ipaHostname}
        xmlrpc_uri = https://${cfg.server}/ipa/xml
        enable_ra = True
      '';
      "ipa/default.conf".text = lib.generators.toINI { } {
        global = {
          inherit (cfg)
            basedn
            realm
            domain
            server
            ;
          host = cfg.ipaHostname;
          xmlrpc_uri = "https://${cfg.server}/ipa/xml";
          enable_ra = "True";
        };
      };

      "ipa/nssdb".source = nssDb;