Added playerctl config

This commit is contained in:
Alejandro Angulo 2023-03-26 09:00:12 -07:00
parent bde962e1ac
commit 943b4eb6be
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
2 changed files with 23 additions and 1 deletions

View 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;
};
};
}

View file

@ -29,12 +29,12 @@ in {
fonts.enable = true;
gammastep.enable = true;
mako.enable = true;
playerctl.enable = true;
rofi.enable = true;
swaylock.enable = true;
waybar.enable = true;
# TODO
# playerctl
# light
# pamixer
};