Something went wrong. Try again.
Tangled infrastructure definitions in Nix
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778{lib, ...}: { disko.devices = { disk.disk1 = { device = lib.mkDefault "/dev/sda"; type = "disk"; content = { type = "gpt"; partitions = { boot = { name = "boot"; size = "1M"; type = "EF02"; }; esp = { name = "ESP"; size = "500M"; type = "EF00"; content = { type = "filesystem"; format = "vfat"; mountpoint = "/boot"; }; }; root = { name = "root"; size = "100%"; content = { type = "lvm_pv"; vg = "pool"; }; }; }; }; }; lvm_vg = { pool = { type = "lvm_vg"; lvs = { swap = { size = "4G"; content = { type = "swap"; discardPolicy = "once"; }; }; root = { size = "4G"; content = { type = "filesystem"; format = "xfs"; mountpoint = "/"; mountOptions = ["defaults" "noatime"]; }; }; nix = { size = "16G"; content = { type = "filesystem"; format = "btrfs"; mountpoint = "/nix"; mountOptions = ["compress=zstd:3" "noatime"]; }; }; hydrant = { size = "100%FREE"; content = { type = "filesystem"; format = "xfs"; mountpoint = "/var/lib/hydrant"; mountOptions = ["defaults" "noatime"]; }; }; }; }; }; };}