parent
8b56d205b2
commit
f66613b3b6
@ -0,0 +1,20 @@ |
||||
# Ofono daemon. |
||||
{ config, lib, pkgs, ... }: |
||||
|
||||
with lib; |
||||
|
||||
{ |
||||
###### interface |
||||
options = { |
||||
services.ofono = { |
||||
enable = mkEnableOption "Ofono"; |
||||
}; |
||||
}; |
||||
|
||||
###### implementation |
||||
config = mkIf config.services.ofono.enable { |
||||
services.dbus.packages = [ pkgs.ofono ]; |
||||
|
||||
systemd.packages = [ pkgs.ofono ]; |
||||
}; |
||||
} |
Loading…
Reference in new issue