boot loader and disko

This commit is contained in:
twoneis 2025-02-06 15:18:50 +01:00
parent acc28f0d3b
commit c2b825502c
2 changed files with 6 additions and 4 deletions

View file

@ -1,6 +1,5 @@
{ lib, pkgs, ... }: let
inherit (lib) mkDefault;
in {
{ pkgs, ... }:
{
imports = [
./options.nix
./disko.nix
@ -15,6 +14,8 @@ in {
kernelPackages = pkgs.linuxPackages_zen;
loader = {
grub = {
devices = [ "/dev/sda1" ];
useOSProber = true;
efiSupport = true;
efiInstallAsRemovable = true;
};

View file

@ -7,9 +7,10 @@
content = {
type = "gpt";
partitions = {
ESP = {
esp = {
priority = 1;
name = "BOOT";
start = "1M";
size = "2G";
type = "EF00";
content = {