Add 1MB Bios Partition to everything just in case

This commit is contained in:
Bun 2025-03-24 03:14:13 -04:00
parent ad87c44701
commit 5b9b31af14
12 changed files with 40 additions and 8 deletions

View file

@ -10,6 +10,10 @@
content = {
type = "gpt";
partitions = {
boot = {
size = "1M";
type = "EF02";
};
ESP = {
priority = 1;
size = "2G";

View file

@ -10,6 +10,10 @@
content = {
type = "gpt";
partitions = {
boot = {
size = "1M";
type = "EF02";
};
ESP = {
priority = 1;
size = "2G";

View file

@ -10,6 +10,10 @@
content = {
type = "gpt";
partitions = {
boot = {
size = "1M";
type = "EF02";
};
ESP = {
priority = 1;
size = "2G";

View file

@ -10,6 +10,10 @@
content = {
type = "gpt";
partitions = {
boot = {
size = "1M";
type = "EF02";
};
ESP = {
priority = 1;
size = "2G";

View file

@ -10,6 +10,10 @@
content = {
type = "gpt";
partitions = {
boot = {
size = "1M";
type = "EF02";
};
ESP = {
priority = 1;
size = "2G";

View file

@ -10,6 +10,10 @@
content = {
type = "gpt";
partitions = {
boot = {
size = "1M";
type = "EF02";
};
ESP = {
priority = 1;
size = "2G";

View file

@ -1,10 +1,10 @@
{ pkgs, ... }:
{ lib, pkgs, ... }:
{
boot = {
kernelPackages = pkgs.linuxPackages_latest;
loader.grub = {
enable = true;
device = "/dev/vda";
device = lib.mkForce "/dev/vda";
};
};
}

View file

@ -6,10 +6,14 @@
disk = {
"${config.networking.hostName}" = {
type = "disk";
device = "/dev/nvme0n1";
device = "/dev/vda";
content = {
type = "gpt";
partitions = {
boot = {
size = "1M";
type = "EF02";
};
ESP = {
priority = 1;
size = "2G";

View file

@ -1,9 +1,6 @@
{ config, lib, modulesPath, ... }:
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
(modulesPath + "/virtualisation/qemu-vm.nix")
];
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
boot.initrd.availableKernelModules = [ "xhci_pci" "sr_mod" ];
boot.initrd.kernelModules = [ "dm-snapshot" ];

View file

@ -1 +0,0 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAb+aqIyTDcXDH8vMK697zQnYYUjgbUD2tJyknlztE3j

View file

@ -10,6 +10,10 @@
content = {
type = "gpt";
partitions = {
boot = {
size = "1M";
type = "EF02";
};
ESP = {
priority = 1;
size = "2G";

View file

@ -10,6 +10,10 @@
content = {
type = "gpt";
partitions = {
boot = {
size = "1M";
type = "EF02";
};
ESP = {
priority = 1;
size = "2G";