From ee60009305d1f41f64caae193203e75b2fe81c22 Mon Sep 17 00:00:00 2001 From: Max Date: Sat, 17 Jun 2023 09:17:12 +0200 Subject: [PATCH] modules/enterprise: drop --- modules/default.nix | 2 -- modules/enterprise/default.nix | 30 ------------------------------ 2 files changed, 32 deletions(-) delete mode 100644 modules/enterprise/default.nix diff --git a/modules/default.nix b/modules/default.nix index 1703ee1..f283746 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -5,7 +5,6 @@ let ./autopatch ./brig ./desktop - ./enterprise ./firewall ./games ./hardened @@ -32,7 +31,6 @@ in rec { sets = with modules; rec { base = [ autopatch - enterprise hardened ]; diff --git a/modules/enterprise/default.nix b/modules/enterprise/default.nix deleted file mode 100644 index 4ac99a7..0000000 --- a/modules/enterprise/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ pkgs, config, inputs, ... }: -let - orgDomain = "privatevoid.net"; - orgRealm = "PRIVATEVOID.NET"; -in { - krb5 = { - enable = true; - domain_realm = { - ${orgDomain} = orgRealm; - ".${orgDomain}" = orgRealm; - }; - libdefaults = { - default_realm = orgRealm; - dns_lookup_kdc = true; - rdns = false; - forwardable = true; - default_ccache_name = "KEYRING:persistent:%{uid}"; - pkinit_anchors = "FILE:${inputs.self.packages.x86_64-linux.privatevoid-smart-card-ca-bundle}"; - }; - realms = { - "${orgRealm}" = rec { - kdc = "authsys.virtual-machines.privatevoid.net"; - admin_server = kdc; - kpasswd_server = kdc; - default_domain = orgDomain; - }; - }; - }; - services.pcscd.enable = true; -}