diff options
author | ajs124 <ajs124@users.noreply.github.com> | 2021-12-08 15:07:28 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-08 15:07:28 +0000 |
commit | eee45bb295b9e4550e778982136f5b8aa1ab37fc (patch) | |
tree | 717d84c48d49615acc43a3a0b2e33442572f339a /nixos/modules/security | |
parent | 8010ff0d543d21fe639efd17f5ecb6e3e3ee9534 (diff) | |
parent | 851495a752f9f631cf47637df1d6e7a301920ba4 (diff) | |
download | nixpkgs-eee45bb295b9e4550e778982136f5b8aa1ab37fc.tar nixpkgs-eee45bb295b9e4550e778982136f5b8aa1ab37fc.tar.gz nixpkgs-eee45bb295b9e4550e778982136f5b8aa1ab37fc.tar.bz2 nixpkgs-eee45bb295b9e4550e778982136f5b8aa1ab37fc.tar.lz nixpkgs-eee45bb295b9e4550e778982136f5b8aa1ab37fc.tar.xz nixpkgs-eee45bb295b9e4550e778982136f5b8aa1ab37fc.tar.zst nixpkgs-eee45bb295b9e4550e778982136f5b8aa1ab37fc.zip |
Merge pull request #146815 from ElvishJerricco/systemd-utils-expressions
Move systemd-lib.nix and systemd-unit-options.nix into utils
Diffstat (limited to 'nixos/modules/security')
-rw-r--r-- | nixos/modules/security/systemd-confinement.nix | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/nixos/modules/security/systemd-confinement.nix b/nixos/modules/security/systemd-confinement.nix index d859c45c74f..0e3ec5af323 100644 --- a/nixos/modules/security/systemd-confinement.nix +++ b/nixos/modules/security/systemd-confinement.nix @@ -1,11 +1,9 @@ -{ config, pkgs, lib, ... }: +{ config, pkgs, lib, utils, ... }: let toplevelConfig = config; inherit (lib) types; - inherit (import ../system/boot/systemd-lib.nix { - inherit config pkgs lib; - }) mkPathSafeName; + inherit (utils.systemdUtils.lib) mkPathSafeName; in { options.systemd.services = lib.mkOption { type = types.attrsOf (types.submodule ({ name, config, ... }: { |