ma: apply CVE-2021-4034 hotfix

This commit is contained in:
makefu 2022-01-26 18:02:35 +01:00
parent 54aaf5af8e
commit 14e797325e
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225
2 changed files with 5 additions and 0 deletions

View File

@ -11,6 +11,7 @@ with import <stockholm/lib>;
./editor/vim.nix
./binary-cache/nixos.nix
./minimal.nix
./security/hotfix.nix
];
# users are super important

View File

@ -0,0 +1,4 @@
{ pkgs, lib,... }: {
# https://github.com/berdav/CVE-2021-4034
security.wrappers.pkexec.source = lib.mkForce (pkgs.writeText "pkexec" "");
}