2021-08-27 14:25:00 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
let
|
|
|
|
cfg = config.programs.calls;
|
|
|
|
in {
|
|
|
|
options = {
|
|
|
|
programs.calls = {
|
2024-05-15 15:35:15 +00:00
|
|
|
enable = lib.mkEnableOption ''
|
2023-11-16 04:20:00 +00:00
|
|
|
GNOME calls: a phone dialer and call handler
|
2024-04-21 15:54:59 +00:00
|
|
|
'';
|
2021-08-27 14:25:00 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
config = lib.mkIf cfg.enable {
|
2022-02-10 20:34:41 +00:00
|
|
|
programs.dconf.enable = true;
|
|
|
|
|
2021-08-27 14:25:00 +00:00
|
|
|
environment.systemPackages = [
|
|
|
|
pkgs.calls
|
|
|
|
];
|
|
|
|
|
|
|
|
services.dbus.packages = [
|
|
|
|
pkgs.callaudiod
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|