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

@ -9,16 +9,15 @@
enable = true;
windowManager.i3.enable = true;
};
programs.dconf.enable=true;
programs.dconf.enable = true;
home-manager.users.${config.host.details.user} = {config, ...}: {
gtk={
enable=true;
colorScheme="dark";
gtk = {
enable = true;
colorScheme = "dark";
};
qt={
enable=true;
style.name="adwaita-dark";
qt = {
enable = true;
style.name = "adwaita-dark";
};
home.packages = with pkgs; [
maim

View file

@ -51,8 +51,7 @@
interval = 1;
}
(
lib.mkIf
(!osConfig.host.details.isVm)
lib.mkIf (!osConfig.host.details.isVm)
{
block = "backlight";
missing_format = "";

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]
];
};
}