nixos-config/2configs/audio/realtime-audio.nix
2017-07-15 22:35:45 +02:00

16 lines
298 B
Nix

{ config, pkgs, ... }:
let
user = config.makefu.gui.user;
in
{
imports = [
<musnix>
];
musnix.enable = true;
musnix.kernel.optimize = true;
musnix.kernel.realtime = true;
musnix.kernel.packages = pkgs.linuxPackages_latest_rt;
users.users."${user}".extraGroups = [ "audio" ];
}