summary refs log tree commit diff
path: root/nixos/modules/security
diff options
context:
space:
mode:
authorajs124 <ajs124@users.noreply.github.com>2021-12-08 15:07:28 +0000
committerGitHub <noreply@github.com>2021-12-08 15:07:28 +0000
commiteee45bb295b9e4550e778982136f5b8aa1ab37fc (patch)
tree717d84c48d49615acc43a3a0b2e33442572f339a /nixos/modules/security
parent8010ff0d543d21fe639efd17f5ecb6e3e3ee9534 (diff)
parent851495a752f9f631cf47637df1d6e7a301920ba4 (diff)
downloadnixpkgs-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.nix6
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, ... }: {