configurable busybox

allows modules to add to the busybox applets and change config
This commit is contained in:
Daniel Barlow 2023-03-10 18:40:45 +00:00
parent 8b2fcb5336
commit 225fc6fe51
10 changed files with 101 additions and 20 deletions

View file

@ -73,7 +73,7 @@ let
run = {
file = ''
#!${execline}/bin/execlineb -P
${busybox}/bin/getty -l ${busybox}/bin/login 115200 /dev/console
/bin/getty -l /bin/login 115200 /dev/console
'';
mode = "0755";
};
@ -134,6 +134,7 @@ let
};
in {
config = {
programs.busybox.applets = [ "login" "getty" ];
filesystem = dir {
etc = dir {
s6-rc = dir {