From 5924534efc076542553f58cd7ef0f348f236b781 Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Sun, 9 Feb 2025 22:44:28 +0100 Subject: [PATCH] Fix issue where I can't save my usb dongle volume level. --- hosts/nixos/configuration.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/hosts/nixos/configuration.nix b/hosts/nixos/configuration.nix index 0e3de94..4dd4628 100644 --- a/hosts/nixos/configuration.nix +++ b/hosts/nixos/configuration.nix @@ -87,10 +87,14 @@ security.rtkit.enable = true; services.pipewire = { enable = true; - alsa.enable = true; - alsa.support32Bit = true; pulse.enable = true; + alsa = { + enable = true; + support32Bit = true; + }; }; + # Fix not saving my state + hardware.alsa.enablePersistence = true; # Define a user account. Don't forget to set a password with ‘passwd’. users.users.crony = { @@ -108,6 +112,7 @@ mangohud lm_sensors libva-utils + alsa-utils ]; # Enable nixd to see nixpkgs path