This commit is contained in:
Adrian Gunnar Lauterer 2024-09-27 17:04:36 +02:00
parent 69da90215f
commit 56459a0285
2 changed files with 4 additions and 5 deletions

View File

@ -46,7 +46,7 @@
users.users.gunalx = { users.users.gunalx = {
isNormalUser = true; isNormalUser = true;
description = "Adrian Gunnar Lauterer"; description = "Adrian Gunnar Lauterer";
extraGroups = [ "networkmanager" "wheel" "video" ]; extraGroups = [ "networkmanager" "wheel" "video" "input" "audio"];
packages = with pkgs; [ packages = with pkgs; [
]; ];
}; };

View File

@ -6,14 +6,12 @@ imports =
]; ];
# Enable sound with pipewire.
sound.enable = true; sound.enable = true;
#hardware.pulseaudio.enable = false; hardware.pulseaudio.enable = false;
security.rtkit.enable = true; security.rtkit.enable = true;
services.pipewire = { services.pipewire = {
enable = true; enable = true;
audio.enable = true;
systemWide = true;
alsa.enable = true; alsa.enable = true;
alsa.support32Bit = true; alsa.support32Bit = true;
pulse.enable = true; pulse.enable = true;
@ -21,6 +19,7 @@ imports =
wireplumber.enable = true; wireplumber.enable = true;
}; };
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
pavucontrol pavucontrol
wireplumber wireplumber