nixpkgs/nixos/modules/programs/calls.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
417 B
Nix
Raw Normal View History

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