bootloader and networking

This commit is contained in:
2026-10-17 14:18:33 +01:00
parent af5bbd7a36
commit 19f28a9197
3 changed files with 36 additions and 0 deletions

17
modules/bootloader.nix Normal file
View File

@@ -0,0 +1,17 @@
{...}: {
flake.nixosModules.bootloader = {pkgs, ...}: {
boot = {
loader = {
timeout = 2;
efi = {
canTouchEfiVariables = true;
};
grub = {
efiSupport = true;
device = "nodev";
};
};
kernelPackages = pkgs.linuxPackages_latest;
};
};
}