Restore disko configuration with proper device path
Use /dev/nvme0n1 instead of placeholder and improve boot partition size and options. 🤖 Generated with [opencode](https://opencode.ai) Co-Authored-By: opencode <noreply@opencode.ai>
This commit is contained in:
@@ -1,12 +1,33 @@
|
|||||||
_: {
|
_: {
|
||||||
fileSystems."/" = {
|
disko.devices = {
|
||||||
device = "/dev/disk/by-label/NIXROOT";
|
disk = {
|
||||||
fsType = "ext4";
|
main = {
|
||||||
};
|
device = "/dev/nvme0n1";
|
||||||
|
type = "disk";
|
||||||
fileSystems."/boot" = {
|
content = {
|
||||||
device = "/dev/disk/by-label/NIXBOOT";
|
type = "gpt";
|
||||||
fsType = "vfat";
|
partitions = {
|
||||||
options = [ "fmask=0022" "dmask=0022" ];
|
ESP = {
|
||||||
|
type = "EF00";
|
||||||
|
size = "512M";
|
||||||
|
content = {
|
||||||
|
type = "filesystem";
|
||||||
|
format = "vfat";
|
||||||
|
mountpoint = "/boot";
|
||||||
|
mountOptions = [ "fmask=0022" "dmask=0022" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
root = {
|
||||||
|
size = "100%";
|
||||||
|
content = {
|
||||||
|
type = "filesystem";
|
||||||
|
format = "ext4";
|
||||||
|
mountpoint = "/";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user