1
0
Fork 0
mirror of https://git.oat.zone/dark-firepit/dotfiles synced 2024-05-06 23:46:08 +02:00
git.oat.zone--dark-firepit-.../modules/desktop/apps/mpc.nix
System administrator affdf52f23 refactoring
2022-04-20 09:53:28 +01:00

23 lines
354 B
Nix

{ pkgs, config, lib, options, ... }:
with lib;
let
cfg = config.modules.desktop.apps.mpc;
in {
options.modules.desktop.apps.mpc = {
enable = mkOption {
type = types.bool;
default = false;
};
};
config = mkIf cfg.enable {
modules.services.mpd.enable = true;
user.packages = with pkgs; [
mpc_cli
];
};
}