mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-01 19:03:53 +00:00
26 lines
296 B
Nix
26 lines
296 B
Nix
{
|
|
x,
|
|
lib,
|
|
config,
|
|
...
|
|
}:
|
|
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;
|
|
};
|
|
};
|
|
}
|