style: nix fmt

This commit is contained in:
Kat Inskip 2025-07-13 05:10:57 -07:00
parent 7913481b66
commit 6e0cc170eb
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
112 changed files with 1977 additions and 1739 deletions

View file

@ -1,38 +1,44 @@
{ config, lib, ... }: let
{
config,
lib,
...
}: let
inherit (lib.modules) mkIf mkDefault;
in {
gensokyo-zone = {
access = {
tail.enable = mkDefault true;
local.enable = mkDefault (config.networking.hostName == "goliath");
};
nix = {
access = {
tail.enable = mkDefault true;
local.enable = mkDefault (config.networking.hostName == "goliath");
};
nix = {
# enable = true;
#cache.infrastructure.enable = true;
# builder.enable = true;
};
kyuuto = {
};
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;
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);
# 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);
};
};
}

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: {
{pkgs, ...}: {
boot.zfs.package = pkgs.zfs_cachyos;
boot.kernelPackages = pkgs.linuxPackages_cachyos;
}

View file

@ -1,3 +1,3 @@
_: {
services.mullvad-vpn.enable = true;
}
services.mullvad-vpn.enable = true;
}

View file

@ -14,7 +14,7 @@
"context.properties" = [
{
name = "libpipewire-module-protocol-pulse";
args = { };
args = {};
}
];
"pulse.properties" = {
@ -33,11 +33,11 @@
services.pipewire.extraConfig.pipewire-pulse."91-discord-latency" = {
pulse.rules = [
{
matches = [ { "application.process.binary" = "Discord"; } ];
matches = [{"application.process.binary" = "Discord";}];
actions = {
update-props = {
"pulse.min.quantum" = "1024/48000";
};
update-props = {
"pulse.min.quantum" = "1024/48000";
};
};
}
];