feat: changes from the last while

This commit is contained in:
Kat Inskip 2025-03-17 00:13:01 -07:00
parent 9255d543a1
commit b7c510de28
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
27 changed files with 885 additions and 195 deletions

View file

@ -0,0 +1,38 @@
{ config, lib, ... }: let
inherit (lib.modules) mkIf mkDefault;
in {
gensokyo-zone = {
access = {
tail.enable = mkDefault true;
local.enable = mkDefault (config.networking.hostName == "goliath");
};
nix = {
enable = true;
cache.infrastructure.enable = true;
builder.enable = true;
};
kyuuto = {
enable = mkDefault true;
shared.enable = mkDefault true;
#domain = mkIf config.gensokyo-zone.access.local.enable "local.${domain}";
};
/*krb5 = {
enable = mkDefault true;
sssd = {
enable = mkDefault true;
# TODO: sssd ldap backend config is currently broken for unknown reasons
# EDIT: wait ifp was disabled maybe it's actually just fine and I'm dumb?
backend = "ipa";
};
nfs.enable = mkDefault true;
#nfs.debug.enable = true;
ipa.enable = mkDefault true;
};*/
dns = {
enable = mkDefault true;
};
monitoring = {
enable = mkIf config.gensokyo-zone.access.local.enable (mkDefault true);
};
};
}