- Removed commented packages: cura, parsec-bin, bottles, stremio, gimp, calibre - Removed commented code: Java enable, low-latency kernel, ROCm packages, bridges - Removed trailing whitespace across multiple files - Fixed typo: Depreciated -> Deprecated in networking - Removed unused desktop/gnome.nix module (not referenced) - Removed systems/common-headless.nix (duplicates common.nix) - Removed nixpkgs.config.allowBroken setting - Added result, *.swp, *~ to .gitignore - Removed .clinerules file (deprecated, info in docs/agents.md) - Updated docs/agents.md changelog with cleanup details
32 lines
928 B
Nix
32 lines
928 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
# Enable PipeWire (with JACK support for low-latency audio)
|
|
services.pipewire = {
|
|
enable = true;
|
|
audio.enable = true;
|
|
pulse.enable = true;
|
|
jack.enable = true;
|
|
alsa.enable = true;
|
|
};
|
|
|
|
# Real-time permissions for better audio performance
|
|
security.pam.loginLimits = [
|
|
{ domain = "@audio"; type = "soft"; item = "rtprio"; value = "95"; }
|
|
{ domain = "@audio"; type = "hard"; item = "rtprio"; value = "95"; }
|
|
{ domain = "@audio"; type = "soft"; item = "memlock"; value = "unlimited"; }
|
|
{ domain = "@audio"; type = "hard"; item = "memlock"; value = "unlimited"; }
|
|
];
|
|
|
|
users.groups.audio = {};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
bitwig-studio
|
|
helvum # easy audio patchbay
|
|
carla # host extra plugins, VST bridge
|
|
lsp-plugins # free high-quality effects
|
|
dragonfly-reverb
|
|
vital # free version if you want
|
|
];
|
|
|
|
}
|