Import lib

This commit is contained in:
Oliver Davies 2025-04-30 10:43:25 +01:00
parent bb9b77e2f8
commit b0ddeff8ba

View file

@ -5,13 +5,15 @@
... ...
}: }:
with lib;
let let
cfg = config.features.coding.phpactor; cfg = config.features.coding.phpactor;
in in
{ {
options.features.coding.phpactor.enable = lib.mkEnableOption "Enable phpactor"; options.features.coding.phpactor.enable = lib.mkEnableOption "Enable phpactor";
config = lib.mkIf cfg.enable { config = mkIf cfg.enable {
home.packages = with pkgs; [ home.packages = with pkgs; [
phpactor phpactor
]; ];