mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 20:39:18 -08:00
44 lines
1.1 KiB
Nix
44 lines
1.1 KiB
Nix
{
|
|
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 false;
|
|
};
|
|
monitoring = {
|
|
enable = mkIf config.gensokyo-zone.access.local.enable (mkDefault true);
|
|
};
|
|
};
|
|
}
|