feat(nixos): migrate system configuration

This commit is contained in:
alexion committed 2026-08-30 19:40:21 -04:00
1 parent c5f34e9460
commit 7a6dc4d6f3
101 files changed
+6247

No files matched your search

@@ -0,0 +1,19 @@
{ config, lib, ... }:
# PipeWire as the desktop audio server.
let
cfg = config.modules.desktop.utilities.audio;
in
{
options.modules.desktop.utilities.audio.enable = lib.mkEnableOption "the PipeWire audio server";
config = lib.mkIf cfg.enable {
# Realtime scheduling for the audio threads, so playback survives load.
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
pulse.enable = true;
};
};
}