aboutsummaryrefslogtreecommitdiffstats
path: root/modules/programs/playerctl/default.nix
blob: f2b5e670c02778a6f222346662e05c6bb6c269ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
  config,
  lib,
  pkgs,
  ...
}:

# Playerctl - CLI for controlling media players (Spotify, MPRIS, etc.)
{
  options.programs.playerctl = {
    enable = lib.mkEnableOption "Enables playerctl.";
  };

  config = lib.mkIf config.programs.playerctl.enable {
    home.packages = with pkgs; [
      playerctl
    ];
  };
}