fix: hardening

This commit is contained in:
FUFSoB committed 2026-10-05 22:44:09 +05:00
1 parent 017a947a18
commit a435942b4f
168 files changed
+9166 -1644

No files matched your search

@@ -97,6 +97,11 @@ in
(lib.mkIf cfg.internal.polkit.enable {
"polkit-1/rules.d/50-proxy-suite.rules".text = cfg.internal.polkit.rules;
})
# Read from /etc by polkit 126 and later. An older one never finds the action, and
# its pkexec asks for the password every time instead.
(lib.mapAttrs' (
name: path: lib.nameValuePair "polkit-1/actions/${name}" { source = path; }
) cfg.internal.polkit.actions)
];
}