forked from c3d2/nix-config
baremetal: force import zfs pool
This commit is contained in:
parent
e43dee88ca
commit
0a7bdbb3ee
|
@ -14,23 +14,29 @@
|
|||
}
|
||||
];
|
||||
|
||||
boot.initrd.network = {
|
||||
enable = true;
|
||||
ssh = {
|
||||
# TODO: enable now per machine
|
||||
# enable = true;
|
||||
authorizedKeys = config.users.users.root.openssh.authorizedKeys.keys;
|
||||
hostKeys = [
|
||||
initrdEd2219Key
|
||||
initrdRsaKey
|
||||
];
|
||||
port = 4748;
|
||||
boot = {
|
||||
initrd.network = {
|
||||
enable = true;
|
||||
ssh = {
|
||||
# TODO: enable now per machine
|
||||
# enable = true;
|
||||
authorizedKeys = config.users.users.root.openssh.authorizedKeys.keys;
|
||||
hostKeys = [
|
||||
initrdEd2219Key
|
||||
initrdRsaKey
|
||||
];
|
||||
port = 4748;
|
||||
};
|
||||
postCommands = ''
|
||||
cat <<EOF > /root/.profile
|
||||
cryptsetup-askpass
|
||||
EOF
|
||||
'';
|
||||
};
|
||||
postCommands = ''
|
||||
cat <<EOF > /root/.profile
|
||||
cryptsetup-askpass
|
||||
EOF
|
||||
'';
|
||||
kernelParams = [
|
||||
# "boot.shell_on_fail"
|
||||
"zfs_force=1"
|
||||
];
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
|
Loading…
Reference in New Issue