diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/systemd-run0.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/systemd-run0.nix b/modules/systemd-run0.nix index 86a721cc..8575ec7c 100644 --- a/modules/systemd-run0.nix +++ b/modules/systemd-run0.nix | |||
@@ -1,4 +1,4 @@ | |||
1 | { ... }: | 1 | { config, lib, ... }: |
2 | { | 2 | { |
3 | config.security.pam.services.systemd-run0 = {}; | 3 | config.security.pam.services.systemd-run0 = lib.mkIf (lib.versionAtLeast config.systemd.package.version "256") {}; |
4 | } | 4 | } |