{config, lib, ...}: lib.mkIf config.boot.loader.systemd-boot.enable { boot.loader = { efi.canTouchEfiVariables = true; }; }