nix-config/modules/home-manager/coding/phpactor/default.nix
Oliver Davies 54b43e4203
All checks were successful
/ check (push) Successful in 1m21s
Remove features
2025-05-03 16:50:27 +01:00

26 lines
343 B
Nix

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