diff options
Diffstat (limited to '')
-rw-r--r-- | modules/system/polkit/default.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/system/polkit/default.nix b/modules/system/polkit/default.nix new file mode 100644 index 00000000..fb13505b --- /dev/null +++ b/modules/system/polkit/default.nix @@ -0,0 +1,14 @@ +{ + config, + lib, + ... +}: let + cfg = config.soispha.polkit; +in { + options.soispha.polkit = { + enable = lib.mkEnableOption "polkit"; + }; + config = lib.mkIf cfg.enable { + security.polkit.enable = true; + }; +} |