switched to disko on game-laptop

This commit is contained in:
Gerg-L 2023-03-07 21:50:03 -05:00
parent ac963c344f
commit e3e4a05def
4 changed files with 70 additions and 19 deletions

View file

@ -0,0 +1,39 @@
_: {
disko.devices = {
disk.nvme0n1 = {
device = "/dev/disk/by-id/nvme-WDC_PC_SN530_SDBPNPZ-512G-1006_21311N802456";
type = "disk";
content = {
type = "table";
format = "gpt";
partitions = [
{
type = "partition";
name = "ESP";
start = "1049KB";
end = "538MB";
bootable = true;
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
}
{
name = "root";
type = "partition";
start = "538MB";
end = "100%";
part-type = "primary";
bootable = true;
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
}
];
};
};
};
}