added readme and comments for part 1

This commit is contained in:
2026-10-17 18:41:53 +01:00
parent 468eedf901
commit 0e3718ab22
12 changed files with 85 additions and 5 deletions

View File

@@ -1,16 +1,24 @@
{...}: {
# 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;
};
};