diff options
author | pennae <82953136+pennae@users.noreply.github.com> | 2022-01-12 06:31:35 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-12 06:31:35 +0000 |
commit | b458e5133fba2c873649f071f7a8dfeae52ebd17 (patch) | |
tree | 6182fbf19f178738a9070fe5ab44c780d7c9e44c /nixos | |
parent | 996536a2301a829b60c1deba51b5533d112f2942 (diff) | |
parent | f62c11fcc3ae06a31e23ae9f5894f259c128e095 (diff) | |
download | nixpkgs-b458e5133fba2c873649f071f7a8dfeae52ebd17.tar nixpkgs-b458e5133fba2c873649f071f7a8dfeae52ebd17.tar.gz nixpkgs-b458e5133fba2c873649f071f7a8dfeae52ebd17.tar.bz2 nixpkgs-b458e5133fba2c873649f071f7a8dfeae52ebd17.tar.lz nixpkgs-b458e5133fba2c873649f071f7a8dfeae52ebd17.tar.xz nixpkgs-b458e5133fba2c873649f071f7a8dfeae52ebd17.tar.zst nixpkgs-b458e5133fba2c873649f071f7a8dfeae52ebd17.zip |
Merge pull request #146937 from amarshall/pam-apparmor-fix
nixos/pam: Fix apparmor syntax error
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/security/pam.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/security/pam.nix b/nixos/modules/security/pam.nix index 0944b36c6d1..21202c55fe2 100644 --- a/nixos/modules/security/pam.nix +++ b/nixos/modules/security/pam.nix @@ -1072,8 +1072,8 @@ in security.apparmor.includes."abstractions/pam" = let isEnabled = test: fold or false (map test (attrValues config.security.pam.services)); in - lib.concatMapStringsSep "\n" - (name: "r ${config.environment.etc."pam.d/${name}".source},") + lib.concatMapStrings + (name: "r ${config.environment.etc."pam.d/${name}".source},\n") (attrNames config.security.pam.services) + '' mr ${getLib pkgs.pam}/lib/security/pam_filter/*, |