Move systemd-lib.nix and systemd-unit-options.nix into utils

This commit is contained in:
Will Fancher 2021-11-20 12:34:13 -05:00
parent 715f634119
commit 851495a752
9 changed files with 22 additions and 19 deletions

View file

@ -1,4 +1,4 @@
pkgs: with pkgs.lib;
{ lib, config, pkgs }: with lib;
rec {
@ -165,4 +165,9 @@ rec {
${builtins.toJSON set}
EOF
'';
systemdUtils = {
lib = import ./systemd-lib.nix { inherit lib config pkgs; };
unitOptions = import ./systemd-unit-options.nix { inherit lib systemdUtils; };
};
}