mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 22:36:23 +01:00
25 lines
414 B
Nix
25 lines
414 B
Nix
{ 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
|
|
];
|
|
};
|
|
}
|