boot loader and disko
This commit is contained in:
parent
acc28f0d3b
commit
c2b825502c
2 changed files with 6 additions and 4 deletions
|
@ -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;
|
||||
};
|
||||
|
|
|
@ -7,9 +7,10 @@
|
|||
content = {
|
||||
type = "gpt";
|
||||
partitions = {
|
||||
ESP = {
|
||||
esp = {
|
||||
priority = 1;
|
||||
name = "BOOT";
|
||||
start = "1M";
|
||||
size = "2G";
|
||||
type = "EF00";
|
||||
content = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue