dotfiles/nix/hosts/thought/disko-config.nix (view raw)
| 1 | { lib, ... }: { |
| 2 | disko.devices = { |
| 3 | disk.disk1 = { |
| 4 | device = lib.mkDefault "/dev/sda"; |
| 5 | type = "disk"; |
| 6 | content = { |
| 7 | type = "gpt"; |
| 8 | partitions = { |
| 9 | esp = { |
| 10 | name = "ESP"; |
| 11 | size = "500M"; |
| 12 | type = "EF00"; |
| 13 | content = { |
| 14 | type = "filesystem"; |
| 15 | format = "vfat"; |
| 16 | mountpoint = "/boot"; |
| 17 | }; |
| 18 | }; |
| 19 | root = { |
| 20 | name = "root"; |
| 21 | size = "100%"; |
| 22 | content = { |
| 23 | type = "filesystem"; |
| 24 | format = "ext4"; |
| 25 | mountpoint = "/"; |
| 26 | mountOptions = [ "defaults" ]; |
| 27 | }; |
| 28 | }; |
| 29 | }; |
| 30 | }; |
| 31 | }; |
| 32 | }; |
| 33 | } |