mirror of
https://github.com/nix-community/disko.git
synced 2026-12-03 14:33:28 +01:00
add nixos tests for disko.config, extend/fix existing tests
This commit is contained in:
1 parent
a215a19759
commit
9f7f23abdb
22 files changed
+448
-110
No files matched your search
@@ -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";
|
||||
|
||||
Reference in new issue
Block a user