made sound usable on non-graphical systems.

This commit is contained in:
Gabe Venberg 2025-10-20 15:39:32 +02:00
parent f4e5e24e2b
commit b9fb31d1d6
7 changed files with 28 additions and 36 deletions

View file

@ -1,6 +1,7 @@
{
config,
pkgs,
lib,
...
}: {
# Enable sound with pipewire.
@ -13,10 +14,22 @@
pulse.enable = true;
};
home-manager.users.${config.host.details.user} = {config, ...}: {
home.packages = with pkgs; [
pwvucontrol
helvum
];
home-manager.users.${config.host.details.user} = {
config,
osConfig,
lib,
...
}: {
home.packages = with pkgs;
lib.mkMerge [
(
lib.mkIf (osConfig.host.details.gui.enable)
[
pwvucontrol
helvum
]
)
[wiremix]
];
};
}