reorganisation

This commit is contained in:
2026-11-07 11:47:46 +00:00
parent aa20bae49c
commit 4d999a7b2a
13 changed files with 37 additions and 28 deletions

View File

@@ -0,0 +1,25 @@
{...}: {
# Define flake part nixosModule "bootloader" and pass in pkgs
flake.nixosModules.bootloader = {pkgs, ...}: {
# Normal nix code
boot = {
loader = {
# Set bootloader timeout
timeout = 2;
efi = {
# Enable efi var mutation
canTouchEfiVariables = true;
};
# Enable grub
grub = {
efiSupport = true;
# Fix resolution issues
device = "nodev";
};
};
# Set kernel to latest available version
kernelPackages = pkgs.linuxPackages_latest;
};
};
}