3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/programs/calls.nix

26 lines
401 B
Nix
Raw Normal View History

2021-07-27 16:13:37 +01:00
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.programs.calls;
in {
options = {
programs.calls = {
enable = mkEnableOption ''
Whether to enable GNOME calls: a phone dialer and call handler.
'';
};
};
config = mkIf cfg.enable {
environment.systemPackages = [
pkgs.calls
];
services.dbus.packages = [
pkgs.callaudiod
];
};
}