fix: Disko | read luks key from file + remove home subvol

This commit is contained in:
2025-02-06 16:47:20 +05:00
parent d062f80334
commit 86a567164d

View File

@@ -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"];