2024-09-20 13:36:09 +02:00
|
|
|
{
|
|
|
|
disko.devices = {
|
2024-09-20 14:21:57 +02:00
|
|
|
disk = {
|
2024-09-20 14:19:38 +02:00
|
|
|
samsung980 = {
|
2024-09-20 13:36:09 +02:00
|
|
|
device = "/dev/nvme0n1";
|
|
|
|
type = "disk";
|
|
|
|
content = {
|
|
|
|
type = "gpt";
|
|
|
|
partitions = {
|
|
|
|
ESP = {
|
|
|
|
type = "EF00";
|
|
|
|
size = "500M";
|
|
|
|
content = {
|
|
|
|
type = "filesystem";
|
|
|
|
format = "vfat";
|
|
|
|
mountpoint = "/boot";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
luks = {
|
|
|
|
size = "100%";
|
|
|
|
content = {
|
|
|
|
type = "luks";
|
|
|
|
name = "crypted";
|
|
|
|
settings = {
|
|
|
|
allowDiscards = true;
|
2024-09-20 16:54:41 +02:00
|
|
|
# askPassword = true;
|
2024-09-20 13:36:09 +02:00
|
|
|
};
|
|
|
|
content = {
|
|
|
|
type = "lvm_pv";
|
2024-09-20 14:33:25 +02:00
|
|
|
vg = "zephyrus_vg";
|
2024-09-20 13:36:09 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
lvm_vg = {
|
2024-09-20 14:33:25 +02:00
|
|
|
zephyrus_vg = {
|
2024-09-20 13:36:09 +02:00
|
|
|
type = "lvm_vg";
|
|
|
|
lvs = {
|
2024-09-20 13:58:08 +02:00
|
|
|
swap = {
|
|
|
|
size = "16G";
|
|
|
|
content = {
|
|
|
|
type = "swap";
|
|
|
|
resumeDevice = true;
|
|
|
|
};
|
|
|
|
};
|
2024-09-20 13:36:09 +02:00
|
|
|
root = {
|
2024-09-20 13:58:08 +02:00
|
|
|
size = "64G";
|
2024-09-20 13:36:09 +02:00
|
|
|
content = {
|
|
|
|
type = "filesystem";
|
|
|
|
format = "ext4";
|
|
|
|
mountpoint = "/";
|
|
|
|
mountOptions = [
|
|
|
|
"defaults"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
2024-09-20 13:58:08 +02:00
|
|
|
var = {
|
|
|
|
size = "32G";
|
|
|
|
content = {
|
|
|
|
type = "filesystem";
|
|
|
|
format = "ext4";
|
|
|
|
mountpoint = "/var";
|
|
|
|
};
|
|
|
|
};
|
2024-09-20 13:36:09 +02:00
|
|
|
home = {
|
2024-09-20 13:58:08 +02:00
|
|
|
size = "100%FREE";
|
2024-09-20 13:36:09 +02:00
|
|
|
content = {
|
|
|
|
type = "filesystem";
|
|
|
|
format = "ext4";
|
|
|
|
mountpoint = "/home";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|