diff options
Diffstat (limited to 'global/system/boot.nix')
| -rw-r--r-- | global/system/boot.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/global/system/boot.nix b/global/system/boot.nix new file mode 100644 index 0000000..248d087 --- /dev/null +++ b/global/system/boot.nix @@ -0,0 +1,26 @@ +{pkgs}: { + boot = { + kernelPackages = pkgs.linuxPackages_latest; + initrd = { + kernelModules = ["i915"]; + systemd.enable = true; + }; + loader = { + efi = { + canTouchEfiVariables = true; + efiSysMountPoint = "/boot"; + }; + grub = { + enable = true; + device = "nodev"; + useOSProber = true; + efiSupport = true; + }; + systemd-boot = { + enable = false; + consoleMode = "keep"; + configurationLimit = 5; + }; + }; + }; +} |
