add bin/init to s6-rc module

... which suggests it could be better named; init is from
s6-linux-init not s6-rc
This commit is contained in:
Daniel Barlow 2022-09-26 21:11:07 +01:00
parent 4c89e9aee6
commit 85f7f7293d
2 changed files with 5 additions and 10 deletions

View file

@ -4,6 +4,7 @@ let
services = builtins.attrValues config.services;
};
inherit (pkgs.pseudofile) dir symlink;
inherit (pkgs) s6-init-bin;
in {
config = {
environment = dir {
@ -12,6 +13,9 @@ in {
compiled = symlink "${s6-rc-db}/compiled";
};
};
bin = dir {
init = symlink "${s6-init-bin}/bin/init";
};
};
};
}