{ config, lib, ... }: { options.myConfig.boot.systemd.enable = lib.mkEnableOption ""; config = lib.mkIf config.myConfig.boot.systemd.enable { boot.tmp.cleanOnBoot = true; boot.loader = { systemd-boot = { enable = true; editor = false; configurationLimit = 50; }; efi.canTouchEfiVariables = true; timeout = 3; }; }; }