diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2022-10-04 11:30:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-04 11:30:22 +0200 |
commit | c96ccd7d9fb48b8283e84811c2355a3c39bb2a52 (patch) | |
tree | 5cdd04282099d607d86c961e390077b09f50452b /example/luks-lvm.nix | |
parent | 60b5f5e7495dd90b8212d121905feaee313fef8f (diff) | |
parent | 9f7f23abdb161578316d94f45528fbf47982f4d9 (diff) |
Merge pull request #43 from nix-community/test-config
add nixos tests for disko.config
Diffstat (limited to 'example/luks-lvm.nix')
-rw-r--r-- | example/luks-lvm.nix | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/example/luks-lvm.nix b/example/luks-lvm.nix index 17e18a2..fdaba8c 100644 --- a/example/luks-lvm.nix +++ b/example/luks-lvm.nix @@ -1,8 +1,8 @@ -{ +{ disks ? [ "/dev/vdb" ] }: { disk = { vdb = { type = "disk"; - device = "/dev/vdb"; + device = builtins.elemAt disks 0; content = { type = "table"; format = "gpt"; @@ -10,7 +10,6 @@ { type = "partition"; name = "ESP"; - # fs-type = "FAT32"; start = "1MiB"; end = "100MiB"; bootable = true; @@ -34,7 +33,6 @@ keyFile = "/tmp/secret.key"; extraArgs = [ "--hash sha512" - "--iter-time 5000" ]; content = { type = "lvm_pv"; |