blob: e3c42bea892d3604323dc0b9ef53b3ddcb32db20 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# PulseAudio command-line mixer
{
config,
lib,
pkgs,
...
}:
{
options.media.pamixer = {
enable = lib.mkEnableOption "Enables pamixer.";
package = lib.mkOption {
type = lib.types.package;
readOnly = true;
default = pkgs.pamixer;
description = "The pamixer package to use.";
};
};
config = lib.mkIf config.media.pamixer.enable {
home.packages = [ config.media.pamixer.package ];
};
}
|