mirror of
https://github.com/smg1024/homelab.git
synced 2026-05-23 04:32:58 +09:00
37 lines
658 B
Nix
37 lines
658 B
Nix
{ ... }:
|
|
|
|
{
|
|
disko.devices = {
|
|
disk.main = {
|
|
type = "disk";
|
|
device = "/dev/disk/by-id/REPLACE_WITH_MIDGARD_DISK_ID";
|
|
|
|
content = {
|
|
type = "gpt";
|
|
|
|
partitions = {
|
|
ESP = {
|
|
size = "512M";
|
|
type = "EF00";
|
|
|
|
content = {
|
|
type = "filesystem";
|
|
format = "vfat";
|
|
mountpoint = "/boot";
|
|
};
|
|
};
|
|
|
|
root = {
|
|
size = "100%";
|
|
|
|
content = {
|
|
type = "filesystem";
|
|
format = "ext4";
|
|
mountpoint = "/";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|