mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
2211a7cf74
GNOME Calls relies on dconf. Evidence supporting this claim: https://packages.debian.org/sid/gnome-calls depends on dconf-gsettings-backend. Discussed in https://github.com/NixOS/nixpkgs/pull/136537#issuecomment-1009903194 :
28 lines
436 B
Nix
28 lines
436 B
Nix
{ 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 {
|
|
programs.dconf.enable = true;
|
|
|
|
environment.systemPackages = [
|
|
pkgs.calls
|
|
];
|
|
|
|
services.dbus.packages = [
|
|
pkgs.callaudiod
|
|
];
|
|
};
|
|
}
|