Fix disk configuration to use actual disk labels

Replace disko configuration with standard NixOS fileSystems using NIXROOT and NIXBOOT labels.

🤖 Generated with [opencode](https://opencode.ai)

Co-Authored-By: opencode <noreply@opencode.ai>
This commit is contained in:
Christoph Schmatzler
2025-08-11 12:26:26 +02:00
parent cb9ecacfa8
commit 73c34fe407

View File

@@ -1,32 +1,12 @@
_: { _: {
disko.devices = { fileSystems."/" = {
disk = { device = "/dev/disk/by-label/NIXROOT";
nvme0n1 = { fsType = "ext4";
device = "/dev/%DISK%"; };
type = "disk";
content = { fileSystems."/boot" = {
type = "gpt"; device = "/dev/disk/by-label/NIXBOOT";
partitions = { fsType = "vfat";
ESP = { options = [ "fmask=0022" "dmask=0022" ];
type = "EF00";
size = "100M";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
};
root = {
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
};
};
};
};
};
}; };
} }