hel1-a: make initrd consistent with vno1-oh2

This commit is contained in:
Motiejus Jakštys 2023-07-28 14:25:14 +03:00
parent bddb20cd13
commit 579f21b0d1

View File

@ -26,6 +26,14 @@
authorizedKeys = config.mj.base.initrd.authorizedKeys; authorizedKeys = config.mj.base.initrd.authorizedKeys;
hostKeys = config.mj.base.initrd.hostKeys; hostKeys = config.mj.base.initrd.hostKeys;
}; };
postCommands = ''
tee -a /root/.profile >/dev/null <<EOF
if zfs load-key rpool/nixos; then
pkill zfs
fi
exit
EOF'';
};
}; };
}; };
} }