vmsilo/modules
Davíð Steinn Geirsson 463f73d274 Add PAM limits for guest PipeWire realtime scheduling
xdg-desktop-portal 1.20.3's Realtime portal intercepts PipeWire's RT
scheduling requests but fails silently: it calls fstatat(pidfd, "ns/pid")
to check the caller's PID namespace, which returns ENOTDIR because pidfds
don't support being used as directory FDs on current kernels (6.18/6.19).
PipeWire uses fire-and-forget D-Bus and never sees the error.

Fix by granting the @audio group PAM limits (rtprio=95, nice=-19,
memlock=unlimited) so PipeWire's module-rt can call sched_setscheduler
directly, bypassing both the broken portal and rtkit.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-18 11:35:15 +00:00
..
lib Remove dead code and simplify helpers 2026-03-07 16:34:52 +00:00
assertions.nix Format with nixfmt 2026-03-17 13:11:36 +00:00
css-colors.nix feat(tray): add tray proxy for VM system tray integration 2026-02-17 23:29:42 +00:00
default.nix netvm: add network.netvm/isNetvm convenience layer for auto VM-to-VM links 2026-03-07 14:21:38 +00:00
desktop.nix desktop: pass vm.color as-is instead of resolving to hex 2026-03-07 17:22:51 +00:00
netvm.nix netvm: support network.netvm = "host" for host-routed networking 2026-03-07 15:28:47 +00:00
networking.nix Disable systemd-networkd-wait-online.service 2026-03-17 11:20:26 +00:00
options.nix Reduce default core isolation from "full" to "vm" 2026-03-18 11:35:10 +00:00
overlay.nix Add colored borders for VM app and menu icons 2026-03-07 17:33:48 +00:00
package.nix Add vmsilo-usb to bash completion 2026-03-17 13:09:35 +00:00
pci.nix refactor(nix-module): split config.nix into focused modules 2026-02-13 21:35:57 +00:00
scripts.nix Add PAM limits for guest PipeWire realtime scheduling 2026-03-18 11:35:15 +00:00
services.nix Set RUST_BACKTRACE=full for vhost-device-sound services 2026-03-17 20:12:48 +00:00