nixos-configuration/nix-os/core-desktop.nix
Wroclaw f9a234faea nixos/core-desktop: disable alsa sound
it is handled by pipewire anyway, don't have multiple sound software
2024-06-26 19:55:49 +02:00

28 lines
537 B
Nix

{config, lib, pkgs, ... }:
{
config = {
services.printing.enable = true;
sound.enable = false;
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
# Enable audio interfaces renaming
wireplumber.enable = true;
};
environment.systemPackages = with pkgs; [
mpv
];
services.openssh.extraConfig = ''
X11Forwarding yes
'';
};
}