1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-08 03:26:08 +03:00

lxc: enable pam_cgfs and fix module

pam_cgfs was part in lxcfs before and moved here

fixes #37985
This commit is contained in:
Jörg Thalheim 2018-04-09 08:13:23 +01:00
parent 8f9b21212d
commit e8cfda7f13
3 changed files with 7 additions and 17 deletions

View file

@ -386,7 +386,7 @@ let
${optionalString (cfg.enableGnomeKeyring)
"session optional ${pkgs.gnome3.gnome-keyring}/lib/security/pam_gnome_keyring.so auto_start"}
${optionalString (config.virtualisation.lxc.lxcfs.enable)
"session optional ${pkgs.lxcfs}/lib/security/pam_cgfs.so -c freezer,memory,name=systemd,unified,cpuset"}
"session optional ${pkgs.lxc}/lib/security/pam_cgfs.so -c all"}
'');
};