feat(reimu): nfs

This commit is contained in:
arcnmx 2024-01-21 16:26:45 -08:00
parent d959a0a5b5
commit c041862fbe
8 changed files with 302 additions and 2 deletions

View file

@ -5,6 +5,7 @@
...
}: let
inherit (lib) mkIf mkMerge mkBefore mkDefault mkOptionDefault mkEnableOption mkOption;
inherit (lib.strings) splitString concatMapStringsSep;
cfg = config.services.kanidm;
in {
options.services.kanidm = with lib.types; {
@ -43,6 +44,10 @@ in {
type = port;
default = 3636;
};
baseDn = mkOption {
type = str;
default = concatMapStringsSep "," (part: "dc=${part}") (splitString "." cfg.serverSettings.domain);
};
};
};
};