summaryrefslogtreecommitdiff
path: root/hosts/desktop/disko.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/desktop/disko.nix')
-rw-r--r--hosts/desktop/disko.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/hosts/desktop/disko.nix b/hosts/desktop/disko.nix
index d9be765..5b3b626 100644
--- a/hosts/desktop/disko.nix
+++ b/hosts/desktop/disko.nix
@@ -22,6 +22,10 @@
content = {
type = "luks";
name = "crypted_main";
+ extraFormatArgs = [
+ "--type luks2"
+ "--pbkdf argon2id"
+ ];
settings.allowDiscards = true;
content = {
type = "btrfs";
@@ -123,7 +127,10 @@
content = {
type = "luks";
name = "crypted_storage";
- keyFile = "/tmp/crypt.key";
+ extraFormatArgs = [
+ "--type luks2"
+ "--pbkdf argon2id"
+ ];
content = {
type = "btrfs";
extraArgs = [ "-f" ];