forked from aylac.top/nixcfg
this repo has no description
1{ 2 config, 3 lib, 4 ... 5}: { 6 options.myNixOS.programs.systemd-boot.enable = lib.mkEnableOption "boot with systemd-boot"; 7 8 config = lib.mkIf config.myNixOS.programs.systemd-boot.enable { 9 boot = { 10 initrd.systemd.enable = lib.mkDefault true; 11 12 loader = { 13 efi.canTouchEfiVariables = lib.mkDefault true; 14 15 systemd-boot = { 16 enable = lib.mkDefault true; 17 configurationLimit = lib.mkDefault 10; 18 }; 19 20 timeout = lib.mkDefault 5; 21 }; 22 }; 23 }; 24}