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" ];
#};
"/home/rilla/calibre" = {
device = "narwhal:/calibre";
fsType = "nfs";
options =
[ "nfsvers=4" "x-systemd.automount" "x-systemd.idle-timeout=1min" ];
};
#"/home/rilla/calibre" = {
# device = "narwhal:/calibre";
# fsType = "nfs";
# options =
# [ "nfsvers=4" "x-systemd.automount" "x-systemd.idle-timeout=1min" ];
#};
};
@ -58,16 +58,42 @@
};
};
initrd = {
luks.devices = {
"system" = {
device = "/dev/disk/by-uuid/b9778e01-a86c-4c6b-beb3-f97888d4a6eb";
keyFile = "/system_keyfile.bin";
allowDiscards = true;
};
"user" = {
device = "/dev/disk/by-uuid/d8e9b35d-704a-4f66-bc19-0dd3e158de36";
keyFile = "/user_keyfile.bin";
allowDiscards = true;
luks = {
#yubikeySupport = true;
devices = {
"system" = {
device = "/dev/disk/by-uuid/b9778e01-a86c-4c6b-beb3-f97888d4a6eb";
keyFile = "/system_keyfile.bin";
allowDiscards = true;
# yubikey = {
# slot = 2;
# 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 = {