Merge pull request #131695 from tomfitzhenry/calls

programs/calls: init
This commit is contained in:
davidak 2021-08-26 04:44:01 +02:00 committed by GitHub
commit 10d21c60e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 27 additions and 0 deletions

View file

@ -121,6 +121,7 @@
./programs/bash-my-aws.nix
./programs/bcc.nix
./programs/browserpass.nix
./programs/calls.nix
./programs/captive-browser.nix
./programs/ccache.nix
./programs/cdemu.nix

View file

@ -0,0 +1,25 @@
{ 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 {
environment.systemPackages = [
pkgs.calls
];
services.dbus.packages = [
pkgs.callaudiod
];
};
}

View file

@ -94,6 +94,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "A phone dialer and call handler";
longDescription = "GNOME Calls is a phone dialer and call handler. Setting NixOS option `programs.calls.enable = true` is recommended.";
homepage = "https://source.puri.sm/Librem5/calls";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ craigem lheckemann ];