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
|
{ pkgs, ... }:
|
||||||
inherit (lib) mkDefault;
|
{
|
||||||
in {
|
|
||||||
imports = [
|
imports = [
|
||||||
./options.nix
|
./options.nix
|
||||||
./disko.nix
|
./disko.nix
|
||||||
|
@ -15,6 +14,8 @@ in {
|
||||||
kernelPackages = pkgs.linuxPackages_zen;
|
kernelPackages = pkgs.linuxPackages_zen;
|
||||||
loader = {
|
loader = {
|
||||||
grub = {
|
grub = {
|
||||||
|
devices = [ "/dev/sda1" ];
|
||||||
|
useOSProber = true;
|
||||||
efiSupport = true;
|
efiSupport = true;
|
||||||
efiInstallAsRemovable = true;
|
efiInstallAsRemovable = true;
|
||||||
};
|
};
|
||||||
|
|
|
@ -7,9 +7,10 @@
|
||||||
content = {
|
content = {
|
||||||
type = "gpt";
|
type = "gpt";
|
||||||
partitions = {
|
partitions = {
|
||||||
ESP = {
|
esp = {
|
||||||
priority = 1;
|
priority = 1;
|
||||||
name = "BOOT";
|
name = "BOOT";
|
||||||
|
start = "1M";
|
||||||
size = "2G";
|
size = "2G";
|
||||||
type = "EF00";
|
type = "EF00";
|
||||||
content = {
|
content = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue