made sound usable on non-graphical systems.
This commit is contained in:
parent
f4e5e24e2b
commit
b9fb31d1d6
7 changed files with 28 additions and 36 deletions
|
|
@ -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]
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue