pvv-nixos-config/hosts/bekkalokk/services/kerberos/default.nix

28 lines
574 B
Nix
Raw Permalink Normal View History

2024-03-29 01:39:59 +01:00
{ config, pkgs, lib, ... }:
{
#######################
# TODO: remove these once nixos 24.05 gets released
#######################
2024-06-08 20:58:10 +02:00
# imports = [
# ./krb5.nix
# ./pam.nix
# ];
# disabledModules = [
# "config/krb5/default.nix"
# "security/pam.nix"
# ];
2024-03-29 01:39:59 +01:00
#######################
security.krb5 = {
enable = true;
settings = {
libdefaults = {
default_realm = "PVV.NTNU.NO";
dns_lookup_realm = "yes";
dns_lookup_kdc = "yes";
};
realms."PVV.NTNU.NO".admin_server = "kdc.pvv.ntnu.no";
};
};
}