nixosModules: remove unnecessary ./iso and disk-layout, clanModules: fix issue #1349

This commit is contained in:
Qubasa
2024-09-03 00:09:45 +02:00
parent 57513bef93
commit e35fd0976a
8 changed files with 14 additions and 152 deletions

View File

@@ -23,12 +23,12 @@ lsblk --output NAME,ID-LINK,FSTYPE,SIZE,MOUNTPOINT
content = {
type = "gpt";
partitions = {
boot = {
"${config.networking.hostName}-boot" = {
size = "1M";
type = "EF02"; # for grub MBR
priority = 1;
};
ESP = lib.mkIf (idx == "nvme-eui.002538b931b59865") {
"${config.networking.hostName}-ESP" = lib.mkIf (idx == "nvme-eui.002538b931b59865") {
size = "1G";
type = "EF00";
content = {
@@ -38,7 +38,7 @@ lsblk --output NAME,ID-LINK,FSTYPE,SIZE,MOUNTPOINT
mountOptions = [ "nofail" ];
};
};
zfs = {
"${config.networking.hostName}-root" = {
size = "100%";
content = {
type = "zfs";