refactoring
This commit is contained in:
parent
4311082a72
commit
c9804239d3
10 changed files with 214 additions and 268 deletions
|
|
@ -1,5 +1,5 @@
|
|||
{...}: {
|
||||
services.xserver.displayManager.sddm.enable = true;
|
||||
services.xserver.displayManager.cosmic-greeter.enable = false;
|
||||
services.xserver.desktopManager.cosmic.enable = true;
|
||||
services.displayManager.cosmic-greeter.enable = false;
|
||||
services.desktopManager.cosmic.enable = true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@
|
|||
lua-language-server
|
||||
# freecad
|
||||
# vulkan-loader
|
||||
# gh
|
||||
# etcher
|
||||
hyperfine
|
||||
jq
|
||||
|
|
@ -58,10 +59,18 @@
|
|||
trunk
|
||||
];
|
||||
|
||||
# programs.nix-ld.enable = true;
|
||||
# programs.nix-ld.libraries = with pkgs; [
|
||||
# xorg.libX11
|
||||
# ];
|
||||
programs.nix-ld.enable = true;
|
||||
programs.nix-ld.libraries = with pkgs; [
|
||||
libxkbcommon
|
||||
libGL
|
||||
|
||||
wayland.dev
|
||||
|
||||
xorg.libX11
|
||||
xorg.libXrandr
|
||||
xorg.libXi
|
||||
xorg.libX11
|
||||
];
|
||||
|
||||
services.udev.extraRules = ''
|
||||
SUBSYSTEM == "tty", GROUP="dialout", ATTRS{interface}=="Black Magic GDB Server", SYMLINK+="ttyBmpGdb"
|
||||
|
|
|
|||
|
|
@ -35,47 +35,4 @@
|
|||
value = -20;
|
||||
}
|
||||
];
|
||||
|
||||
# services.pipewire.enable = false;
|
||||
services.pipewire.extraConfig = {
|
||||
pipewire."99-low-latency" = {
|
||||
context.properties = {
|
||||
default.allowed-rates = [44100 48000 96000];
|
||||
default.clock.rate = 192000;
|
||||
default.clock.quantum = 32;
|
||||
default.clock.min-quantum = 32;
|
||||
default.clock.max-quantum = 32;
|
||||
};
|
||||
context.modules = [
|
||||
{
|
||||
name = "libpipewire-module-rt";
|
||||
args = {
|
||||
nice.level = -12;
|
||||
rt.prio = 89;
|
||||
rt.time.soft = 200000;
|
||||
rt.time.hard = 200000;
|
||||
};
|
||||
flags = ["ifexists nofail"];
|
||||
}
|
||||
];
|
||||
};
|
||||
pipewire-pulse."99-low-latency" = {
|
||||
context.modules = [
|
||||
{
|
||||
name = "libpipewire-module-protocol-pulse";
|
||||
args = {
|
||||
pulse.min.req = "32/192000";
|
||||
pulse.default.req = "32/192000";
|
||||
pulse.max.req = "32/192000";
|
||||
pulse.min.quantum = "32/192000";
|
||||
pulse.max.quantum = "32/192000";
|
||||
};
|
||||
}
|
||||
];
|
||||
stream.properties = {
|
||||
node.latency = "32/192000";
|
||||
resample.quality = 1;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue