5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
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
|
|
];
|
|
};
|
|
}
|