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 = "/"; + }; + }; + }; + }; + }; + }; + }; +}