blob: 996e2683b5d99bbed2328bbe1f75ea0657a3f286 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# PulseAudio command-line mixer
{
config,
lib,
pkgs,
...
}:
let
cfg = config.media.pamixer;
in
{
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 cfg.enable {
home.packages = [ cfg.package ];
};
}
|