nix: use disko as a module

This commit is contained in:
Primrose 2024-07-26 19:09:08 +02:00
parent 5be02dc55f
commit 2fedc3d1b5
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
4 changed files with 29 additions and 5 deletions

View file

@ -5,7 +5,7 @@
disk = {
main = {
type = "disk";
device = throw "Override me or change me";
device = "/dev/sda";
content = {
type = "gpt";
partitions = {
@ -26,9 +26,6 @@
name = "crypted";
extraOpenArgs = [ ];
settings = {
# # if you want to use the key for interactive login be sure there is no trailing newline
# # for example use `echo -n "password" > /tmp/secret.key`
# keyFile = "/tmp/secret.key";
askPassword = true;
allowDiscards = true;
};