{ config, lib, pkgs, povSelf, ... }: let inherit (lib) types; cfg = lib.getAttrFromPath povSelf config; in { options.enable = { type = types.bool; default = false; }; config = lib.mkIf cfg.enable { environment.systemPackages = with pkgs; [ deadnix nixfmt-rfc-style nixfmt-tree nixd statix ]; }; }