{ pkgs, config, lib, ...}: let cfg = config.system-pkgs; in { options.system-pkgs = { enable = lib.mkOption { type = lib.types.bool; default = true; }; }; config = lib.mkIf cfg.enable { environment.systemPackages = with pkgs; [ git vim tmux ]; }; }