mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-01 16:33:55 +00:00
17 lines
259 B
Nix
17 lines
259 B
Nix
{ x, lib, config, ... }:
|
|
|
|
with lib;
|
|
with x;
|
|
let cfg = config.module.services.polkit;
|
|
in {
|
|
options = { module.services.polkit = { enable = mkBool; }; };
|
|
|
|
config = mkIf cfg.enable {
|
|
security = {
|
|
polkit = True;
|
|
soteria = True;
|
|
};
|
|
};
|
|
}
|
|
|