mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 20:39:18 -08:00
feat: changes from the last while
This commit is contained in:
parent
9255d543a1
commit
b7c510de28
27 changed files with 885 additions and 195 deletions
38
nixos/profiles/graphical/infra.nix
Normal file
38
nixos/profiles/graphical/infra.nix
Normal 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);
|
||||
};
|
||||
};
|
||||
}
|
||||
4
nixos/profiles/graphical/kernel.nix
Normal file
4
nixos/profiles/graphical/kernel.nix
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{ pkgs, ... }: {
|
||||
boot.zfs.package = pkgs.zfs_cachyos;
|
||||
boot.kernelPackages = pkgs.linuxPackages_cachyos;
|
||||
}
|
||||
7
nixos/profiles/graphical/mounting.nix
Normal file
7
nixos/profiles/graphical/mounting.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
_: {
|
||||
services = {
|
||||
gvfs.enable = true;
|
||||
udisks2.enable = true;
|
||||
devmon.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
@ -9,7 +9,6 @@
|
|||
usbutils
|
||||
plexamp
|
||||
super-slicer-beta
|
||||
barrier
|
||||
];
|
||||
services.udev.packages = [
|
||||
pkgs.android-udev-rules
|
||||
|
|
|
|||
|
|
@ -5,6 +5,32 @@
|
|||
|
||||
security.rtkit.enable = true;
|
||||
|
||||
services.pipewire.extraConfig.pipewire-pulse."92-low-latency" = {
|
||||
context.modules = [
|
||||
{
|
||||
name = "libpipewire-module-protocol-pulse";
|
||||
args = {
|
||||
pulse.min.req = "32/48000";
|
||||
pulse.default.req = "32/48000";
|
||||
pulse.max.req = "32/48000";
|
||||
pulse.min.quantum = "32/48000";
|
||||
pulse.max.quantum = "32/48000";
|
||||
};
|
||||
}
|
||||
];
|
||||
stream.properties = {
|
||||
node.latency = "32/48000";
|
||||
resample.quality = 1;
|
||||
};
|
||||
};
|
||||
services.pipewire.extraConfig.pipewire."92-low-latency" = {
|
||||
"context.properties" = {
|
||||
"default.clock.rate" = 48000;
|
||||
"default.clock.quantum" = 32;
|
||||
"default.clock.min-quantum" = 32;
|
||||
"default.clock.max-quantum" = 32;
|
||||
};
|
||||
};
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
pulse.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue