clan-core/templates/new-clan/modules/disko.nix
Johannes Kirschbauer 56fad0fd4a
All checks were successful
checks / checks (pull_request) Successful in 2m13s
checks / checks-impure (pull_request) Successful in 1m56s
template: use disko module direcly
2024-04-30 19:16:13 +02:00

38 lines
839 B
Nix

{
disko.devices = {
disk = {
main = {
type = "disk";
# Set the following in flake.nix for each maschine:
# device = <uuid>;
content = {
type = "gpt";
partitions = {
boot = {
size = "1M";
type = "EF02"; # for grub MBR
};
ESP = {
size = "512M";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
};
root = {
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
};
};
};
};
};
};
}