summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2023-08-05 23:24:46 +0530
committersinanmohd <sinan@sinanmohd.com>2023-08-06 11:33:33 +0530
commitf47b6349a329bc54b263ddeacb4c32e0fe727433 (patch)
treeb6941960b8887a3ace3697e7c32728cd53433132
parent14b1586beac963db31f5d50f2fbfef1bfe975b37 (diff)
cez: switch the default alsa card from hdmi to inbuilt
-rw-r--r--hardware/cez.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/hardware/cez.nix b/hardware/cez.nix
index b3f0744..dc474e6 100644
--- a/hardware/cez.nix
+++ b/hardware/cez.nix
@@ -17,7 +17,13 @@
wireless.iwd.enable = true;
};
- sound.enable = true;
+ sound = {
+ enable = true;
+ extraConfig = ''
+ defaults.pcm.card 1
+ defaults.ctl.card 1
+ '';
+ };
services.pipewire = {
enable = true;
pulse.enable = true;