mirror of
https://github.com/ItsDrike/nixdots
synced 2025-06-29 02:50:41 +00:00
flake: update
This commit is contained in:
parent
d20eba8a64
commit
135a0d44ff
5 changed files with 21 additions and 24 deletions
|
@ -4,22 +4,16 @@
|
|||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf mkDefault;
|
||||
inherit (lib) mkIf;
|
||||
cfg = config.myOptions.system.sound;
|
||||
in {
|
||||
imports = [ ./pipewire.nix ];
|
||||
imports = [./pipewire.nix];
|
||||
config = mkIf cfg.enable {
|
||||
sound = {
|
||||
enable = mkDefault false; # this just enables ALSA, which we don't really care abouyt
|
||||
mediaKeys.enable = true;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
# TUI tool to manage sound devices & levels
|
||||
# It's made for pulseaudio, but it will work with pipewire too since we
|
||||
# It's made for pulseaudio, but it will work with pipewire too since we
|
||||
# run a compatibility layer for pulse
|
||||
pulsemixer
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -123,4 +123,3 @@ in {
|
|||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue