summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2022-12-24 10:35:03 +0100
committerlassulus <lassulus@lassul.us>2022-12-24 12:13:04 +0100
commit12c7e608edb41ac81316555bb4556b82d5b5a12c (patch)
treeee7078dda516e2c5209c844dccb1a79b45e4ee6e
parent192f9cc4162ab1cacbd12664cd968c5d358c1f7e (diff)
examples: cleanup a bit
-rw-r--r--example/swap.nix4
-rw-r--r--example/zfs-over-legacy.nix2
2 files changed, 1 insertions, 5 deletions
diff --git a/example/swap.nix b/example/swap.nix
index 0693caa..13393fe 100644
--- a/example/swap.nix
+++ b/example/swap.nix
@@ -25,7 +25,6 @@
start = "100MiB";
end = "-1G";
part-type = "primary";
- bootable = true;
content = {
type = "filesystem";
format = "ext4";
@@ -33,12 +32,11 @@
};
}
{
- name = "root";
+ name = "swap";
type = "partition";
start = "-1G";
end = "100%";
part-type = "primary";
- bootable = true;
content = {
type = "swap";
randomEncryption = true;
diff --git a/example/zfs-over-legacy.nix b/example/zfs-over-legacy.nix
index 8e02b00..1a6bbd3 100644
--- a/example/zfs-over-legacy.nix
+++ b/example/zfs-over-legacy.nix
@@ -49,7 +49,6 @@
zpool = {
zroot = {
type = "zpool";
- rootFsOptions.mountpoint = "none";
datasets = {
"root" = {
zfs_type = "filesystem";
@@ -58,7 +57,6 @@
"root/zfs_fs" = {
zfs_type = "filesystem";
mountpoint = "/zfs_fs";
- options.mountpoint = "/zfs_fs";
options."com.sun:auto-snapshot" = "true";
};
};