This commit is contained in:
RingOfStorms (Joshua Bell) 2025-12-16 15:29:02 -06:00
parent e2cb7ec4cc
commit 2937e59e91

View file

@ -258,7 +258,21 @@ lib.mkMerge [
KeyringMode = "shared"; KeyringMode = "shared";
# We need a path that includes standard tools (mkdir, mount, find, date, stat) # We need a path that includes standard tools (mkdir, mount, find, date, stat)
# and bcachefs tools. # and bcachefs tools.
Environment = "PATH=${ # Environment = "PATH=${
# lib.makeBinPath [
# pkgs.coreutils
# pkgs.util-linux
# pkgs.findutils
# pkgs.gawk
# pkgs.bcachefs-tools
# pkgs.gnugrep
# ]
# }:/bin:/sbin";
};
script = ''
# This forces Nix to include these packages in the initrd closure
export PATH="${
lib.makeBinPath [ lib.makeBinPath [
pkgs.coreutils pkgs.coreutils
pkgs.util-linux pkgs.util-linux
@ -267,10 +281,8 @@ lib.mkMerge [
pkgs.bcachefs-tools pkgs.bcachefs-tools
pkgs.gnugrep pkgs.gnugrep
] ]
}:/bin:/sbin";
};
script = '' }:$PATH"
# 1. Enable Debugging # 1. Enable Debugging
set -x set -x