diff options
| -rw-r--r-- | disks/himeji.nix | 56 |
1 files changed, 26 insertions, 30 deletions
diff --git a/disks/himeji.nix b/disks/himeji.nix index 56e72cc..32af8a3 100644 --- a/disks/himeji.nix +++ b/disks/himeji.nix @@ -1,40 +1,36 @@ { - disko.devices = { - disk = { - main = { - type = "disk"; - device = "/dev/sda"; + disko.devices.disk.main = { + type = "disk"; + device = "/dev/sda"; - content = { - type = "gpt"; + content = { + type = "gpt"; - partitions = { - boot = { - size = "1M"; - type = "EF02"; - priority = 1; - }; + partitions = { + boot = { + size = "1M"; + type = "EF02"; + priority = 1; + }; - ESP = { - size = "512M"; - type = "EF00"; + ESP = { + size = "512M"; + type = "EF00"; - content = { - type = "filesystem"; - format = "vfat"; - mountpoint = "/boot"; - }; - }; + content = { + type = "filesystem"; + format = "vfat"; + mountpoint = "/boot"; + }; + }; - root = { - size = "100%"; + root = { + size = "100%"; - content = { - type = "filesystem"; - format = "ext4"; - mountpoint = "/"; - }; - }; + content = { + type = "filesystem"; + format = "ext4"; + mountpoint = "/"; }; }; }; |