2024-09-09 00:22:14 +00:00
|
|
|
{
|
|
|
|
disko.devices = {
|
|
|
|
disk = {
|
|
|
|
master = {
|
|
|
|
type = "disk";
|
2024-10-09 02:30:49 +00:00
|
|
|
device = "/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_53186364";
|
2024-09-09 00:22:14 +00:00
|
|
|
content = {
|
|
|
|
type = "gpt";
|
|
|
|
partitions = {
|
|
|
|
BOOT = {
|
|
|
|
size = "1M";
|
|
|
|
type = "EF02";
|
|
|
|
};
|
|
|
|
|
|
|
|
ESP = {
|
|
|
|
size = "512M";
|
|
|
|
type = "EF00";
|
|
|
|
content = {
|
|
|
|
type = "filesystem";
|
|
|
|
format = "vfat";
|
|
|
|
mountpoint = "/boot";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
root = {
|
|
|
|
size = "100%";
|
|
|
|
content = {
|
|
|
|
type = "btrfs";
|
2024-09-13 01:50:53 +00:00
|
|
|
extraArgs = ["-f"];
|
2024-09-09 00:22:14 +00:00
|
|
|
subvolumes = {
|
|
|
|
"/root" = {
|
|
|
|
mountpoint = "/";
|
|
|
|
mountOptions = [
|
|
|
|
"compress=zstd"
|
|
|
|
"noatime"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
"/home" = {
|
|
|
|
mountpoint = "/home";
|
|
|
|
mountOptions = [
|
|
|
|
"compress=zstd"
|
|
|
|
"noatime"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
"/nix" = {
|
|
|
|
mountpoint = "/nix";
|
|
|
|
mountOptions = [
|
|
|
|
"compress=zstd"
|
|
|
|
"noatime"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
"/swap" = {
|
|
|
|
mountpoint = "/swap";
|
2024-10-09 02:30:49 +00:00
|
|
|
swap.swapfile.size = "4G";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
myvol = {
|
|
|
|
type = "disk";
|
|
|
|
device = "/dev/disk/by-id/scsi-0HC_Volume_101412796";
|
|
|
|
content = {
|
|
|
|
type = "gpt";
|
|
|
|
partitions = {
|
|
|
|
local = {
|
|
|
|
size = "100%";
|
|
|
|
content = {
|
|
|
|
type = "btrfs";
|
|
|
|
extraArgs = ["-f"];
|
|
|
|
subvolumes = {
|
|
|
|
"/local" = {
|
|
|
|
mountpoint = "/mnt/local";
|
|
|
|
mountOptions = [
|
|
|
|
"compress=zstd"
|
|
|
|
"noatime"
|
|
|
|
];
|
2024-09-09 00:22:14 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|