Skip to content

Conversation

SolidEva
Copy link

useful for creating and managing a non-root, encrypted data raid on a headless server

the major difference between this and https://github.com/nix-community/disko/blob/master/example/luks-btrfs-raid.nix
is that this configuration is not expected to be decrypted at boot time

because of that, we set options

            initrdUnlock = false; # dont try to unlock this in the initrd
            "noauto" # ensure that systemd doesnt try to mount this at boot
            "nofail" # ensure that systemd failing to mount this doesn't send us to emergency mode

tested using a server board with 4x nvme drives

happy to do additional testing

useful for creating and managing a non-root, encrypted data raid on a headless server

the major difference between this and https://github.com/nix-community/disko/blob/master/example/luks-btrfs-raid.nix
is that this configuration is not expected to be decrypted at boot time

because of that, we set options
```
            initrdUnlock = false; # dont try to unlock this in the initrd
            "noauto" # ensure that systemd doesnt try to mount this at boot
            "nofail" # ensure that systemd failing to mount this doesn't send us to emergency mode
```

additionally, each disk is a raw luks device with no partition table

tested using a server board with 4x nvme drives
@SolidEva
Copy link
Author

testing with checkScripts = false for now, but before this merges, a fix for #1099 will have to be merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant