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 = {
disk = {
nvme0n1 = {
device = "/dev/%DISK%";
type = "disk";
content = {
type = "gpt";
partitions = {
ESP = {
type = "EF00";
size = "100M";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
};
root = {
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
};
};
};
};
};
fileSystems."/" = {
device = "/dev/disk/by-label/NIXROOT";
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/disk/by-label/NIXBOOT";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
}