dotfiles/modules/hardware/audio.nix

14 lines
227 B
Nix
Raw Normal View History

2022-04-30 16:32:00 +00:00
{ pkgs, lib, gui, ... }: {
2022-04-29 02:12:16 +00:00
2022-04-30 16:32:00 +00:00
config = lib.mkIf gui.enable {
sound.enable = true;
hardware.pulseaudio.enable = true;
2022-04-29 02:12:16 +00:00
2022-04-30 16:32:00 +00:00
environment.systemPackages = with pkgs;
[
pamixer # Audio control
];
};
2022-04-29 02:12:16 +00:00
}