summaryrefslogtreecommitdiffstats
path: root/example/swap.nix
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2022-12-25 18:25:37 +0000
committerGitHub <noreply@github.com>2022-12-25 18:25:37 +0000
commite3527b826d9ce94855cd0f2716c46cef76a4219a (patch)
treed63f70120437bb4fdcc4d0b656c674e533c6abea /example/swap.nix
parent11d5c74c30cec9783d8281a3af51d269ac7f3eab (diff)
parent164ea97c01ae57ecb76153ef43be4a184aa5d33a (diff)
Merge pull request #75 from nix-community/zap2HEADmaster
zap only devices we care about
Diffstat (limited to 'example/swap.nix')
-rw-r--r--example/swap.nix4
1 files changed, 1 insertions, 3 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;