diff --git a/disk-config.nix b/disk-config.nix new file mode 100644 index 0000000..655a8fe --- /dev/null +++ b/disk-config.nix @@ -0,0 +1,31 @@ +{lib, ...}: { + disko.devices = { + disk.sda = { + device = "/dev/sda"; + type = "disk"; + content = { + type = "gpt"; + partitions = { + ESP = { + size = "1G"; + type = "EF00"; + content = { + type = "filesystem"; + format = "vfat"; + mountpoint = "/boot"; + }; + }; + + root = { + size = "100%"; + content = { + type = "filesystem"; + format = "ext4"; + mountpoint = "/"; + }; + }; + }; + }; + }; + }; +}