summaryrefslogtreecommitdiffstats
path: root/krebs/2configs/security-workarounds.nix
diff options
context:
space:
mode:
Diffstat (limited to 'krebs/2configs/security-workarounds.nix')
-rw-r--r--krebs/2configs/security-workarounds.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/krebs/2configs/security-workarounds.nix b/krebs/2configs/security-workarounds.nix
new file mode 100644
index 000000000..0743f2b49
--- /dev/null
+++ b/krebs/2configs/security-workarounds.nix
@@ -0,0 +1,6 @@
+{ config, lib, pkgs, ... }:
+with import <stockholm/lib>;
+{
+ # https://github.com/Lassulus/CVE-2021-4034
+ security.wrappers.pkexec.source = lib.mkForce (pkgs.writeText "pkexec" "");
+}