blob: 9bf95d71918202ff2a38b2614c545a1081b4f0e7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
{ options, config, lib, pkgs, namespace, ... }:
with lib; with lib.${namespace}; let
cfg = config.${namespace}.apps.playerctl;
in {
options.${namespace}.apps.playerctl = with types; {
enable = mkEnableOption "playerctl";
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
playerctl
];
#TODO: enable, eventually
services.playerctld.enable = false;
};
}
|