build01: add zpool import workaround
This commit is contained in:
parent
96575d1a00
commit
347fbab610
1 changed files with 4 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{ inputs, ... }:
|
||||
{ config, inputs, ... }:
|
||||
{
|
||||
imports = [
|
||||
inputs.srvos.nixosModules.hardware-hetzner-online-amd
|
||||
|
@ -8,6 +8,9 @@
|
|||
inputs.self.nixosModules.community-builder
|
||||
];
|
||||
|
||||
# the default zpool import services somehow times out while this import works fine?
|
||||
boot.initrd.systemd.services.zfs-import-zroot.serviceConfig.ExecStartPre = "${config.boot.zfs.package}/bin/zpool import -N -f zroot";
|
||||
|
||||
# Emulate riscv64 until we have proper builders
|
||||
boot.binfmt.emulatedSystems = [ "riscv64-linux" ];
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue