might've fixed disko ??? OMG TOTES GOATS ???

This commit is contained in:
Serenity-F 2024-04-05 12:47:04 +10:00
parent 0801a929bd
commit 4f5acf57ad
3 changed files with 30 additions and 16 deletions

View file

@ -4,7 +4,7 @@
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
"${builtins.fetchTarball "https://github.com/nix-community/disko/archive/master.tar.gz"}/module.nix"
# "${builtins.fetchTarball "https://github.com/nix-community/disko/archive/master.tar.gz"}/module.nix"
./disko-config.nix
./network-configuration.nix

View file

@ -1,4 +1,5 @@
{
disko.devices = {
disk = {
sda = {
@ -19,6 +20,7 @@
];
};
};
luks = {
size = "100%";
content = {
@ -31,6 +33,7 @@
#keyFile = "/tmp/secret.key";
};
# additionalKeyFiles = [ "/tmp/additionalSecret.key" ];
content = {
type = "btrfs";
extraArgs = [ "-f" ];
@ -49,11 +52,15 @@
};
};
};
};
};
};
};
};
};
};
}