feat: auto load nas hdd on orion
This commit is contained in:
parent
7e9c9efc08
commit
b690f94a5d
@ -14,6 +14,19 @@ in
|
|||||||
zfs.devNodes = "/dev/disk/by-id";
|
zfs.devNodes = "/dev/disk/by-id";
|
||||||
zfs.extraPools = [ "nas-pool" ];
|
zfs.extraPools = [ "nas-pool" ];
|
||||||
|
|
||||||
|
initrd = {
|
||||||
|
luks.devices = {
|
||||||
|
"crypt-nas" = {
|
||||||
|
device = "/dev/disk/by-id/ata-ST4000NM0035-1V4107_ZC1A7CWN";
|
||||||
|
keyFile = "/nas_keyfile0.bin";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
secrets = {
|
||||||
|
"/nas_keyfile0.bin" = "/etc/secrets/nas_keyfile0.bin";
|
||||||
|
};
|
||||||
|
supportedFilesystems = [ "zfs" ];
|
||||||
|
};
|
||||||
|
|
||||||
loader = {
|
loader = {
|
||||||
grub = {
|
grub = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user