diff --git a/nixos/big_data.nix b/nixos/big_data.nix index 3d61957..44e8aeb 100644 --- a/nixos/big_data.nix +++ b/nixos/big_data.nix @@ -92,8 +92,44 @@ in nodemanager.enable = true; }; }; + + kerberos_server = { + enable = true; + realms."ATHENA.MIT.EDU" = { + acl = [ + { access = "all"; principal = "*/admin"; } + { access = "all"; principal = "admin"; } + ]; + }; + }; }; + krb5 = { + enable = true; + realms."ATHENA.MIT.EDU" = { + admin_server = "localhost"; + kdc = [ + "localhost" + ]; + kpasswd_server = "localhost"; + }; + domain_realm = { + ".athena.mit.edu" = "ATHENA.MIT.EDU"; + "athena.mit.edu" = "ATHENA.MIT.EDU"; + }; + libdefaults = { + default_realm = "ATHENA.MIT.EDU"; + dns_lookup_realm = false; + dns_lookup_kdc = false; + }; + extraConfig = '' + [logging] + default = FILE:/var/log/krb5.log + ''; + }; + + + systemd.services.spark-history = { path = with pkgs; [ procps openssh nettools ]; description = "spark history service."; diff --git a/odin.nix b/odin.nix index c5df576..528bf04 100644 --- a/odin.nix +++ b/odin.nix @@ -45,7 +45,6 @@ ark authy bitwarden - blender btop catgirl # IRC cava