1
1
Fork 0

polkit: disable agent by default

This commit is contained in:
Myned 2025-03-26 02:49:34 -05:00
parent d28a0f58e2
commit c59eaa2d9f
3 changed files with 7 additions and 1 deletions
options/custom
desktops
programs

View file

@ -31,6 +31,7 @@ in {
};
programs = {
polkit.agent = true;
uwsm.enable = true;
};
};

View file

@ -35,6 +35,11 @@ in {
};
};
programs = {
# Enable custom polkit agent
polkit.agent = !cfg.polkit;
};
services = {
# Enable rootless Xwayland
xwayland-satellite.enable = cfg.xwayland;

View file

@ -11,7 +11,7 @@ with lib; let
in {
options.custom.programs.polkit = {
enable = mkOption {default = false;};
agent = mkOption {default = true;};
agent = mkOption {default = false;};
bypass = mkOption {default = false;};
};