hel1-a: make initrd consistent with vno1-oh2
This commit is contained in:
parent
bddb20cd13
commit
579f21b0d1
@ -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'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user