diff options
author | Will Fancher <elvishjerricco@gmail.com> | 2021-11-20 12:34:13 -0500 |
---|---|---|
committer | Will Fancher <elvishjerricco@gmail.com> | 2021-11-20 17:52:29 -0500 |
commit | 851495a752f9f631cf47637df1d6e7a301920ba4 (patch) | |
tree | e466715084d8d6d945e989656a86bff987a73df3 /nixos/lib/utils.nix | |
parent | 715f63411952c86c8f57ab9e3e3cb866a015b5f2 (diff) |
Move systemd-lib.nix and systemd-unit-options.nix into utils
Diffstat (limited to 'nixos/lib/utils.nix')
-rw-r--r-- | nixos/lib/utils.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/nixos/lib/utils.nix b/nixos/lib/utils.nix index f1fa9f07a9742..bbebf8ba35a01 100644 --- a/nixos/lib/utils.nix +++ b/nixos/lib/utils.nix @@ -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; }; + }; } |