diff options
author | Preston Pan <ret2pop@gmail.com> | 2025-02-08 03:19:30 -0800 |
---|---|---|
committer | Preston Pan <ret2pop@gmail.com> | 2025-02-08 03:19:30 -0800 |
commit | 504b765606f02b610d74d259ddf2c85292e1f6c0 (patch) | |
tree | 49908b9e9064b0f0fc8bf8070e8cf5cdf547e3a6 /nix/disko/nvme-simple.nix | |
parent | 56faa5e9caf4408c2c4d6df50287c3b1c9e6c1b4 (diff) |
add nix-topology; make configuration options less bad; restructure project a bit; add flake system looping
Diffstat (limited to 'nix/disko/nvme-simple.nix')
-rw-r--r-- | nix/disko/nvme-simple.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/nix/disko/nvme-simple.nix b/nix/disko/nvme-simple.nix new file mode 100644 index 0000000..665c17e --- /dev/null +++ b/nix/disko/nvme-simple.nix @@ -0,0 +1,35 @@ +{ + disko.devices = { + disk = { + my-disk = { + device = "/dev/nvme0n1"; + type = "disk"; + content = { + type = "gpt"; + partitions = { + ESP = { + type = "EF00"; + size = "500M"; + priority = 1; + content = { + type = "filesystem"; + format = "vfat"; + mountpoint = "/boot"; + mountOptions = [ "umask=0077" ]; + }; + }; + root = { + size = "100%"; + priority = 2; + content = { + type = "filesystem"; + format = "ext4"; + mountpoint = "/"; + }; + }; + }; + }; + }; + }; + }; +} |