nixos/pam: remove pam_cgfs

pam_cgfs is a cgroups-v1 pam module. Verified with upstream that
this module no longer necessary on cgroups-v2 systems.
This commit is contained in:
Adam Stephens 2024-01-23 13:44:00 -05:00
parent 939e432e46
commit 75ec325cb9
No known key found for this signature in database
2 changed files with 0 additions and 5 deletions

View file

@ -867,9 +867,6 @@ let
{ name = "gnupg"; enable = cfg.gnupg.enable; control = "optional"; modulePath = "${pkgs.pam_gnupg}/lib/security/pam_gnupg.so"; settings = {
no-autostart = cfg.gnupg.noAutostart;
}; }
{ name = "cgfs"; enable = config.virtualisation.lxc.lxcfs.enable; control = "optional"; modulePath = "${pkgs.lxc}/lib/security/pam_cgfs.so"; args = [
"-c" "all"
]; }
];
};
};

View file

@ -12,7 +12,6 @@
nix-update-script,
nixosTests,
openssl,
pam,
pkg-config,
systemd,
}:
@ -41,7 +40,6 @@ stdenv.mkDerivation rec {
libseccomp
libselinux
openssl
pam
systemd
];