1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-01-19 22:33:54 +00:00
ultima/modules/nixos/services/polkit/default.nix
2024-12-09 10:15:55 +09:00

17 lines
265 B
Nix

{ x, lib, config, True, ... }:
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;
};
};
}