aboutsummaryrefslogtreecommitdiffstats
path: root/modules/tools/playerctl/default.nix
blob: d4fa232c2b3dfc10a8631fbe0ca62940bf548236 (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.tools.playerctl = {
    enable = lib.mkEnableOption "Enables playerctl.";
  };

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