# /hosts/hp-laptop/disko-config.nix # Two-disk layout: # /dev/sda -> boot + ESP (/boot) + swap + root (/) # /dev/sdb -> home (/home) { disk = { root = { type = "disk"; device = "/dev/sda"; content = { type = "gpt"; partitions = { boot = { size = "1M"; type = "EF02"; }; ESP = { size = "512M"; type = "EF00"; content = { type = "filesystem"; format = "vfat"; mountpoint = "/boot"; }; }; swap = { size = "16G"; type = "8200"; content = { type = "swap"; }; }; root = { size = "100%"; content = { type = "filesystem"; format = "ext4"; mountpoint = "/"; }; }; }; }; }; home = { type = "disk"; device = "/dev/sdb"; content = { type = "gpt"; partitions = { home = { size = "100%"; content = { type = "filesystem"; format = "ext4"; mountpoint = "/home"; }; }; }; }; }; }; }