mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
style: nix fmt
This commit is contained in:
parent
7913481b66
commit
6e0cc170eb
112 changed files with 1977 additions and 1739 deletions
|
|
@ -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);
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, ... }: {
|
||||
{pkgs, ...}: {
|
||||
boot.zfs.package = pkgs.zfs_cachyos;
|
||||
boot.kernelPackages = pkgs.linuxPackages_cachyos;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
_: {
|
||||
services.mullvad-vpn.enable = true;
|
||||
}
|
||||
services.mullvad-vpn.enable = true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue