From ddb1dcab2e5ac8557af2800b4463a9b2167a2e96 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Sun, 4 May 2025 14:27:15 +0200 Subject: [PATCH] fix(marpa): better audio configuration for marpa --- hosts/marpa/configuration.nix | 5 +++++ users/phundrak/home.nix | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/hosts/marpa/configuration.nix b/hosts/marpa/configuration.nix index 0bb79ec..29f2f34 100644 --- a/hosts/marpa/configuration.nix +++ b/hosts/marpa/configuration.nix @@ -64,8 +64,13 @@ curl openssl wget + alsa-scarlett-gui ]; + boot.extraModprobeConfig = '' + options snd_usb_audio vid=0x1235 pid=0x8212 device_setup=1 + ''; + programs.nix-ld.enable = true; # This value determines the NixOS release from which the default diff --git a/users/phundrak/home.nix b/users/phundrak/home.nix index 369b767..8d180a7 100644 --- a/users/phundrak/home.nix +++ b/users/phundrak/home.nix @@ -94,6 +94,12 @@ ]; }; }; + + services = { + mpris-proxy.enable = true; + playerctld.enable = true; + }; + manual.html.enable = true; }; }