feat: add usable initrd shell

This commit is contained in:
oddlama 2024-01-23 02:48:40 +01:00
parent 8b67068237
commit 0abd08a7be
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A

View file

@ -12,6 +12,9 @@
# TODO good idea? targets.emergency.wants = ["network.target" "sshd.service"];
extraBin.ip = "${pkgs.iproute2}/bin/ip";
extraBin.ping = "${pkgs.iputils}/bin/ping";
# Give me a usable shell please
users.root.shell = "${pkgs.bashInteractive}/bin/bash";
storePaths = ["${pkgs.bashInteractive}/bin/bash"];
};
# NOTE: Add "rd.systemd.unit=rescue.target" to debug initrd