make s6-init-files into a module

This commit is contained in:
Daniel Barlow
2022-09-27 10:19:44 +01:00
parent 85f7f7293d
commit 797aa30c47
10 changed files with 161 additions and 172 deletions

View File

@@ -8,10 +8,10 @@ let
./modules/base.nix
({ lib, ... } : { config = { inherit (device) kernel; }; })
<liminix-config>
./modules/s6-rc.nix
./modules/s6
] nixpkgs.pkgs;
finalConfig = config // {
packages = (with nixpkgs.pkgs; [ s6-init-files s6-rc ]) ++
packages = (with nixpkgs.pkgs; [ s6-rc ]) ++
config.systemPackages ++
(builtins.attrValues config.services);
};