liminix-fork/modules/s6-rc.nix

18 lines
338 B
Nix
Raw Normal View History

2022-09-26 21:59:56 +02:00
{ config, pkgs, ... }:
let
s6-rc-db = pkgs.s6-rc-database.override {
services = builtins.attrValues config.services;
};
inherit (pkgs.pseudofile) dir symlink;
in {
config = {
environment = dir {
etc = dir {
s6-rc = dir {
compiled = symlink "${s6-rc-db}/compiled";
};
};
};
};
}