meta: Merge pipewire module with hyprland

Realistically if hyprland is being used then the user *probably* wants
audio as well, so merging them makes sense here.

This commit is a part of ultimately having a single module for "desktop"
usage.
This commit is contained in:
Donovan Glover 2024-04-03 21:39:13 -04:00
parent e44b145164
commit 38e82be380
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 15 additions and 18 deletions

View File

@ -21,4 +21,19 @@
enable = true;
excludePackages = [ pkgs.xterm ];
};
services.pipewire = {
enable = true;
alsa = {
enable = true;
support32Bit = true;
};
pulse.enable = true;
};
environment.systemPackages = with pkgs; [
pulseaudio
];
}

View File

@ -1,18 +0,0 @@
{ pkgs, ... }:
{
services.pipewire = {
enable = true;
alsa = {
enable = true;
support32Bit = true;
};
pulse.enable = true;
};
environment.systemPackages = with pkgs; [
pulseaudio
];
}