From 06f0541b8b899523a6ad8e433b00cbbb94e480e6 Mon Sep 17 00:00:00 2001 From: cspark Date: Thu, 12 Dec 2024 19:54:34 +0000 Subject: [PATCH] Ensure RT kernel is only used on desktop configuration --- configurations/desktop/configuration.nix | 4 ++++ global.nix | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configurations/desktop/configuration.nix b/configurations/desktop/configuration.nix index 6a764b4a..9f8bd39f 100644 --- a/configurations/desktop/configuration.nix +++ b/configurations/desktop/configuration.nix @@ -27,6 +27,10 @@ networking.networkmanager.enable = true; # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. + # Enable musnix, a module for real-time audio. + musnix.enable = false; + musnix.kernel.realtime = true; # Realtime kernel + # Custom desktop environments # cspark-desktop-plasma.enable = true; # cspark-desktop-gnome.enable = true; diff --git a/global.nix b/global.nix index f76fc204..d7dbdffd 100644 --- a/global.nix +++ b/global.nix @@ -11,10 +11,6 @@ boot.extraModulePackages = with config.boot.kernelPackages; [ usbip ]; boot.kernelModules = [ "usbip_host" ]; - # Enable musnix, a module for real-time audio. - musnix.enable = false; - musnix.kernel.realtime = true; # Realtime kernel - services.flatpak.enable = true; environment.systemPackages = let