nix-config/modules/home-manager/coding/phpactor/default.nix
2025-04-30 10:43:25 +01:00

26 lines
361 B
Nix

{
config,
lib,
pkgs,
...
}:
with lib;
let
cfg = config.features.coding.phpactor;
in
{
options.features.coding.phpactor.enable = lib.mkEnableOption "Enable phpactor";
config = mkIf cfg.enable {
home.packages = with pkgs; [
phpactor
];
xdg.configFile.phpactor = {
source = ./config;
recursive = true;
};
};
}