From 126e33bdd0799bb442ab1efd44ae0332ade65bcf Mon Sep 17 00:00:00 2001
From: Gregor Kleen <gkleen@yggdrasil.li>
Date: Mon, 11 Jan 2016 18:49:26 +0000
Subject: Disable internal audio card on vali

---
 vali.nix | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/vali.nix b/vali.nix
index 8c7aae70..78ffc0d3 100644
--- a/vali.nix
+++ b/vali.nix
@@ -134,10 +134,10 @@ rec {
 
   sound = {
     enable = true;
-    extraConfig = ''
-      defaults.pcm.!card 2
-    '';
   };
+  boot.extraModprobeConfig = ''
+    options snd slots=snd-usb-audio
+  '';
     
   nixpkgs.config.allowUnfree = true;
 
-- 
cgit v1.2.3