From ba07af97e4feff9f61f20e76453cf8c5bf3d6a1c Mon Sep 17 00:00:00 2001 From: voidarc Date: Wed, 29 Jul 2026 15:12:27 +0100 Subject: [PATCH] disko config --- disk-config.nix | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 disk-config.nix 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 = "/"; + }; + }; + }; + }; + }; + }; +}