diff options
Diffstat (limited to 'makefu/2configs/audio/realtime-audio.nix')
-rw-r--r-- | makefu/2configs/audio/realtime-audio.nix | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/makefu/2configs/audio/realtime-audio.nix b/makefu/2configs/audio/realtime-audio.nix new file mode 100644 index 000000000..fbeacd025 --- /dev/null +++ b/makefu/2configs/audio/realtime-audio.nix @@ -0,0 +1,16 @@ +{ config, pkgs, ... }: +let + user = config.makefu.gui.user; +in +{ + imports = [ + ../sources/musnix.nix # populate musnix + <musnix> + ]; + musnix.enable = true; + musnix.kernel.optimize = true; + musnix.kernel.realtime = true; + # TODO: musnix.kernel.packages = pkgs.linuxPackages_latest_rt; + + users.users."${user}".extraGroups = [ "audio" ]; +} |