From 0ee2bdb3f892df6aa82ec399fb78c300950190b3 Mon Sep 17 00:00:00 2001 From: Maaz Khokhar Date: Mon, 6 Jul 2026 00:01:24 -0500 Subject: [PATCH] created a disks folder that contains all disko formats added the default normal layout --- disks/normal.nix | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 disks/normal.nix diff --git a/disks/normal.nix b/disks/normal.nix new file mode 100644 index 0000000..8f9849e --- /dev/null +++ b/disks/normal.nix @@ -0,0 +1,35 @@ +{ disk, ... }: + +{ + disko.devices = { + disk = { + ${disk} = { + device = "/dev/disk/by-id/${disk}"; + type = "disk"; + content = { + type = "gpt"; + partitions = { + ESP = { + type = "EF00"; + size = "2G"; + content = { + type = "filesystem"; + format = "vfat"; + mountpoint = "/boot"; + mountOptions = [ "umask=0077" ]; + }; + }; + root = { + size = "100%"; + content = { + type = "filesystem"; + format = "ext4"; + mountpoint = "/"; + }; + }; + }; + }; + }; + }; + }; +}