playerctl module

enable playerctl
Zynh Ludwig 2024-07-09 23:49:17 -07:00
parent 4e495a907d
commit e6af7b7403
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,14 @@
{ lib, config, ... }:
let
cfg = config.snowhawk.playerctl;
in
{
options.snowhawk.playerctl = {
enable = lib.mkEnableOption "playerctl";
};
config = lib.mkIf cfg.enable {
services.playerctld.enable = true;
};
}

View File

@ -20,6 +20,7 @@ in
dunst.enable = true;
sops.enable = true;
ssh.enable = true;
playerctl.enable = true;
};
xsession.numlock.enable = true;