diff --git a/nixos/disko-config.nix b/nixos/disko-config.nix index b942f56..a7976c7 100644 --- a/nixos/disko-config.nix +++ b/nixos/disko-config.nix @@ -24,9 +24,9 @@ content = { name = "crypted"; type = "luks"; - askPassword = true; settings = { allowDiscards = true; + keyFile = "/tmp/secret.key"; crypttabExtraOpts = [ "fido2-device=auto" "token-timeout=10" @@ -40,10 +40,6 @@ mountpoint = "/"; mountOptions = ["subvol=root" "compress=zstd" "noatime"]; }; - "/home" = { - mountpoint = "/home"; - mountOptions = ["subvol=home" "compress=zstd" "noatime"]; - }; "/nix" = { mountpoint = "/nix"; mountOptions = ["subvol=nix" "compress=zstd" "noatime"];