24 lines
422 B
Nix
24 lines
422 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
# Enable sound with pipewire.
|
|
sound.enable = true;
|
|
hardware.pulseaudio.enable = false;
|
|
security.rtkit.enable = true;
|
|
services.pipewire = {
|
|
enable = true;
|
|
alsa.enable = true;
|
|
alsa.support32Bit = true;
|
|
pulse.enable = true;
|
|
};
|
|
|
|
home-manager.users.${config.host.user} = {config, ...}: {
|
|
home.packages = with pkgs; [
|
|
pwvucontrol
|
|
helvum
|
|
];
|
|
};
|
|
}
|