depot/nixos/modules/programs/calls.nix

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

26 lines
414 B
Nix
Raw Normal View History

{ config, lib, pkgs, ... }:
let
cfg = config.programs.calls;
in {
options = {
programs.calls = {
enable = lib.mkEnableOption ''
GNOME calls: a phone dialer and call handler
'';
};
};
config = lib.mkIf cfg.enable {
programs.dconf.enable = true;
environment.systemPackages = [
pkgs.calls
];
services.dbus.packages = [
pkgs.callaudiod
];
};
}