revert machine_id pull request

This commit is contained in:
Qubasa
2024-09-06 21:38:50 +02:00
parent 76541043a7
commit 323010bb04
27 changed files with 46 additions and 217 deletions

View File

@@ -1,8 +1,4 @@
{ lib, ... }:
let
suffix = config.clan.core.machine.diskId;
in
{
boot.loader.grub.efiSupport = lib.mkDefault true;
boot.loader.grub.efiInstallAsRemovable = lib.mkDefault true;
@@ -15,12 +11,12 @@ in
content = {
type = "gpt";
partitions = {
"boot-${suffix}" = {
"boot" = {
size = "1M";
type = "EF02"; # for grub MBR
priority = 1;
};
"ESP-${suffix}" = {
"ESP" = {
size = "512M";
type = "EF00";
content = {
@@ -29,7 +25,7 @@ in
mountpoint = "/boot";
};
};
"root-${suffix}" = {
"root" = {
size = "100%";
content = {
type = "filesystem";

View File

@@ -1,8 +1,4 @@
{ lib, ... }:
let
suffix = config.clan.core.machine.diskId;
in
{
# TO NOT EDIT THIS FILE AFTER INSTALLATION of a machine
# Otherwise your system might not boot because of missing partitions / filesystems
@@ -17,12 +13,12 @@ in
content = {
type = "gpt";
partitions = {
"boot-${suffix}" = {
"boot" = {
size = "1M";
type = "EF02"; # for grub MBR
priority = 1;
};
"ESP-${suffix}" = {
"ESP" = {
size = "512M";
type = "EF00";
content = {
@@ -32,7 +28,7 @@ in
mountOptions = [ "nofail" ];
};
};
"root-${suffix}" = {
"root" = {
size = "100%";
content = {
type = "filesystem";