mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-06 12:33:52 +00:00
17 lines
278 B
Nix
17 lines
278 B
Nix
{ x, lib, config, True, ... }:
|
|
|
|
with lib;
|
|
with x;
|
|
let cfg = config.module.services.dbus;
|
|
in {
|
|
options = { module.services.dbus = { enable = mkBool; }; };
|
|
|
|
config = mkIf cfg.enable {
|
|
services = {
|
|
dbus.implementation = "broker";
|
|
udisks2 = True;
|
|
};
|
|
};
|
|
}
|
|
|