From 5c05968f2645836f67378da13501f8c057e749a9 Mon Sep 17 00:00:00 2001 From: Dmitriy Holkin Date: Thu, 10 Oct 2019 14:28:56 +0400 Subject: [PATCH] add alsa soundcard order for workstation --- modules/hardware.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/hardware.nix b/modules/hardware.nix index af34d5a..67510ce 100644 --- a/modules/hardware.nix +++ b/modules/hardware.nix @@ -58,6 +58,9 @@ with deviceSpecific; { anonymousClients.allowedIpRanges = ["127.0.0.1"]; }; }; + boot.extraModprobeConfig = lib.mkIf (device == "AMD-Workstation") '' + options snd slots=snd_virtuoso,snd_usb_audio + ''; # SSD Section boot.kernel.sysctl = {