summaryrefslogtreecommitdiff
path: root/modules/xnet/disk/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'modules/xnet/disk/layouts')
-rw-r--r--modules/xnet/disk/layouts/mirror.nix43
-rw-r--r--modules/xnet/disk/layouts/single.nix29
2 files changed, 0 insertions, 72 deletions
diff --git a/modules/xnet/disk/layouts/mirror.nix b/modules/xnet/disk/layouts/mirror.nix
deleted file mode 100644
index 5a9835b..0000000
--- a/modules/xnet/disk/layouts/mirror.nix
+++ /dev/null
@@ -1,43 +0,0 @@
-devices: {
- disk = builtins.listToAttrs (map
- (device: {
- name = device;
- value = {
- type = "disk";
- device = "/dev/${device}";
- content = {
- type = "gpt";
- partitions = {
- ESP = {
- size = "1G";
- type = "EF00";
- content = {
- type = "mdraid";
- name = "boot";
- };
- };
- ZFS = {
- size = "100%";
- content = {
- type = "zfs";
- pool = "zroot";
- };
- };
- };
- };
- };
- })
- devices);
- mdadm = {
- boot = {
- type = "mdadm";
- level = 1;
- metadata = "1.0";
- content = {
- type = "filesystem";
- format = "vfat";
- mountpoint = "/boot";
- };
- };
- };
-}
diff --git a/modules/xnet/disk/layouts/single.nix b/modules/xnet/disk/layouts/single.nix
deleted file mode 100644
index b779a39..0000000
--- a/modules/xnet/disk/layouts/single.nix
+++ /dev/null
@@ -1,29 +0,0 @@
-device: {
- disk = {
- "${device}" = {
- type = "disk";
- device = "/dev/${device}";
- content = {
- type = "gpt";
- partitions = {
- ESP = {
- size = "1G";
- type = "EF00";
- content = {
- type = "filesystem";
- format = "vfat";
- mountpoint = "/boot";
- };
- };
- ZFS = {
- size = "100%";
- content = {
- type = "zfs";
- pool = "zroot";
- };
- };
- };
- };
- };
- };
-}