Added playerctl config
This commit is contained in:
parent
bde962e1ac
commit
943b4eb6be
22
modules/desktop/addons/playerctl/default.nix
Normal file
22
modules/desktop/addons/playerctl/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
{
|
||||||
|
options,
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
with lib; let
|
||||||
|
cfg = config.aa.desktop.addons.playerctl;
|
||||||
|
in {
|
||||||
|
options.aa.desktop.addons.playerctl = with types; {
|
||||||
|
enable = mkEnableOption "playerctl";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
environment.systemPackages = with pkgs; [playerctl];
|
||||||
|
|
||||||
|
aa.home.extraOptions = {
|
||||||
|
services.playerctld.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -29,12 +29,12 @@ in {
|
||||||
fonts.enable = true;
|
fonts.enable = true;
|
||||||
gammastep.enable = true;
|
gammastep.enable = true;
|
||||||
mako.enable = true;
|
mako.enable = true;
|
||||||
|
playerctl.enable = true;
|
||||||
rofi.enable = true;
|
rofi.enable = true;
|
||||||
swaylock.enable = true;
|
swaylock.enable = true;
|
||||||
waybar.enable = true;
|
waybar.enable = true;
|
||||||
|
|
||||||
# TODO
|
# TODO
|
||||||
# playerctl
|
|
||||||
# light
|
# light
|
||||||
# pamixer
|
# pamixer
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue