From 21b6a02d25b9b1343d290b5c3dce652cd8c468ff Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Mon, 25 Apr 2022 20:50:35 -0400 Subject: [PATCH] ax101: fix deprecation; and add lsof --- hosts/hetzner/ax101.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/hetzner/ax101.nix b/hosts/hetzner/ax101.nix index ad5a887..fc9073f 100644 --- a/hosts/hetzner/ax101.nix +++ b/hosts/hetzner/ax101.nix @@ -51,7 +51,7 @@ # The RAIDs are assembled in stage1, so we need to make the config # available there. - boot.initrd.mdadmConf = config.environment.etc."mdadm.conf".text; + boot.initrd.services.mdraid.mdadmConf = config.environment.etc."mdadm.conf".text; # Network (Hetzner uses static IP assignments, and we don't use DHCP here) networking.useDHCP = false; @@ -105,6 +105,7 @@ environment.systemPackages = with pkgs; [ cryptsetup + lsof inputs.nixos-shell.defaultPackage.${system} ];