fix: Disko | read luks key from file + remove home subvol
This commit is contained in:
@@ -24,9 +24,9 @@
|
|||||||
content = {
|
content = {
|
||||||
name = "crypted";
|
name = "crypted";
|
||||||
type = "luks";
|
type = "luks";
|
||||||
askPassword = true;
|
|
||||||
settings = {
|
settings = {
|
||||||
allowDiscards = true;
|
allowDiscards = true;
|
||||||
|
keyFile = "/tmp/secret.key";
|
||||||
crypttabExtraOpts = [
|
crypttabExtraOpts = [
|
||||||
"fido2-device=auto"
|
"fido2-device=auto"
|
||||||
"token-timeout=10"
|
"token-timeout=10"
|
||||||
@@ -40,10 +40,6 @@
|
|||||||
mountpoint = "/";
|
mountpoint = "/";
|
||||||
mountOptions = ["subvol=root" "compress=zstd" "noatime"];
|
mountOptions = ["subvol=root" "compress=zstd" "noatime"];
|
||||||
};
|
};
|
||||||
"/home" = {
|
|
||||||
mountpoint = "/home";
|
|
||||||
mountOptions = ["subvol=home" "compress=zstd" "noatime"];
|
|
||||||
};
|
|
||||||
"/nix" = {
|
"/nix" = {
|
||||||
mountpoint = "/nix";
|
mountpoint = "/nix";
|
||||||
mountOptions = ["subvol=nix" "compress=zstd" "noatime"];
|
mountOptions = ["subvol=nix" "compress=zstd" "noatime"];
|
||||||
|
|||||||
Reference in New Issue
Block a user