baremetal: force import zfs pool

This commit is contained in:
Sandro - 2023-05-21 21:12:45 +02:00
parent e43dee88ca
commit 0a7bdbb3ee
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -14,7 +14,8 @@
} }
]; ];
boot.initrd.network = { boot = {
initrd.network = {
enable = true; enable = true;
ssh = { ssh = {
# TODO: enable now per machine # TODO: enable now per machine
@ -32,6 +33,11 @@
EOF EOF
''; '';
}; };
kernelParams = [
# "boot.shell_on_fail"
"zfs_force=1"
];
};
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
lshw lshw