From 504b765606f02b610d74d259ddf2c85292e1f6c0 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Sat, 8 Feb 2025 03:19:30 -0800 Subject: add nix-topology; make configuration options less bad; restructure project a bit; add flake system looping --- nix/disko/vda-simple.nix | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 nix/disko/vda-simple.nix (limited to 'nix/disko/vda-simple.nix') diff --git a/nix/disko/vda-simple.nix b/nix/disko/vda-simple.nix new file mode 100644 index 0000000..32fa28d --- /dev/null +++ b/nix/disko/vda-simple.nix @@ -0,0 +1,27 @@ +{ + disko.devices = { + disk = { + main = { + device = "/dev/vda"; + type = "disk"; + content = { + type = "gpt"; + partitions = { + boot = { + size = "1M"; + type = "EF02"; + }; + root = { + size = "100%"; + content = { + type = "filesystem"; + format = "ext4"; + mountpoint = "/"; + }; + }; + }; + }; + }; + }; + }; +} -- cgit