feat: do not mount calibre nfs volume

feat/kile-v2
Ricard Illa 2022-04-08 19:37:32 +02:00
parent 4fedceead8
commit 9f9e675267
No known key found for this signature in database
GPG Key ID: F69A672B72E54902
1 changed files with 42 additions and 16 deletions

View File

@ -26,12 +26,12 @@
# [ "nfsvers=4" "x-systemd.automount" "x-systemd.idle-timeout=1min" ]; # [ "nfsvers=4" "x-systemd.automount" "x-systemd.idle-timeout=1min" ];
#}; #};
"/home/rilla/calibre" = { #"/home/rilla/calibre" = {
device = "narwhal:/calibre"; # device = "narwhal:/calibre";
fsType = "nfs"; # fsType = "nfs";
options = # options =
[ "nfsvers=4" "x-systemd.automount" "x-systemd.idle-timeout=1min" ]; # [ "nfsvers=4" "x-systemd.automount" "x-systemd.idle-timeout=1min" ];
}; #};
}; };
@ -58,16 +58,42 @@
}; };
}; };
initrd = { initrd = {
luks.devices = { luks = {
"system" = { #yubikeySupport = true;
device = "/dev/disk/by-uuid/b9778e01-a86c-4c6b-beb3-f97888d4a6eb"; devices = {
keyFile = "/system_keyfile.bin"; "system" = {
allowDiscards = true; device = "/dev/disk/by-uuid/b9778e01-a86c-4c6b-beb3-f97888d4a6eb";
}; keyFile = "/system_keyfile.bin";
"user" = { allowDiscards = true;
device = "/dev/disk/by-uuid/d8e9b35d-704a-4f66-bc19-0dd3e158de36"; # yubikey = {
keyFile = "/user_keyfile.bin"; # slot = 2;
allowDiscards = true; # twoFactor = false;
# gracePeriod = 30;
# keyLength = 64;
# saltLength = 16;
# storage = {
# device = "/dev/nvme0n1p1";
# fsType = "vfat";
# path = "/crypt-storage/default";
# };
# };
};
"user" = {
device = "/dev/disk/by-uuid/d8e9b35d-704a-4f66-bc19-0dd3e158de36";
keyFile = "/user_keyfile.bin";
# yubikey = {
# slot = 2;
# twoFactor = false;
# gracePeriod = 30;
# keyLength = 64;
# saltLength = 16;
# storage = {
# device = "/dev/nvme0n1p1";
# fsType = "vfat";
# path = "/crypt-storage/default";
# };
# };
};
}; };
}; };
secrets = { secrets = {