diff options
Diffstat (limited to 'hosts/canadian-government-system/disks.nix')
| -rw-r--r-- | hosts/canadian-government-system/disks.nix | 82 |
1 files changed, 0 insertions, 82 deletions
diff --git a/hosts/canadian-government-system/disks.nix b/hosts/canadian-government-system/disks.nix deleted file mode 100644 index 67b20b8..0000000 --- a/hosts/canadian-government-system/disks.nix +++ /dev/null @@ -1,82 +0,0 @@ -{ - disko.devices.disk = { - boot1 = { - content = { - partitions = { - efi = { - content = { - format = "vfat"; - mountOptions = [ "umask=0077" ]; - mountpoint = "/boot"; - type = "filesystem"; - }; - - size = "512M"; - type = "EF00"; - }; - - # the root partition is set up in boot2 - root.size = "100%"; - }; - - type = "gpt"; - }; - - device = "/dev/sda"; - type = "disk"; - }; - - boot2 = { - content = { - partitions = { - efi = { - content = { - format = "vfat"; - mountOptions = [ "umask=0077" ]; - mountpoint = "/boot"; - type = "filesystem"; - }; - - size = "512M"; - type = "EF00"; - }; - - root = { - content = { - extraArgs = [ - "-f" - "-d raid1" - "/dev/sda2"; - ]; - - subvolumes = { - "/nix" = { - mountOptions = [ - "compress=zstd" - "noatime" - ]; - - mountpoint = "/nix"; - }; - - "/root" = { - mountpoint = "/"; - mountOptions = [ "noatime" ]; - }; - }; - - type = "btrfs"; - }; - - size = "100%"; - }; - }; - - type = "gpt"; - }; - - device = "/dev/sdb"; - type = "disk"; - }; - }; -} |
