nixos/modules/media/ncmpcpp/default.nix
2023-07-09 01:37:18 +03:00

21 lines
409 B
Nix

{ outputs, options, config, lib, pkgs, ...}:
with lib;
let
cfg = config.modules.media.ncmpcpp;
in
{
options.modules.media.ncmpcpp = {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
ncmpcpp
];
home-manager.users.sako.xdg.configFile.ncmpcpp = {
source = ../../../config/ncmpcpp;
recursive = true;
};
};
}