1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-11 07:10:39 +02:00

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"]; # TODO good idea? targets.emergency.wants = ["network.target" "sshd.service"];
extraBin.ip = "${pkgs.iproute2}/bin/ip"; extraBin.ip = "${pkgs.iproute2}/bin/ip";
extraBin.ping = "${pkgs.iputils}/bin/ping"; 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 # NOTE: Add "rd.systemd.unit=rescue.target" to debug initrd