Merge pull request #131695 from tomfitzhenry/calls

programs/calls: init
launchpad/nixpkgs/master
davidak 3 years ago committed by GitHub
commit 10d21c60e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      nixos/modules/module-list.nix
  2. 25
      nixos/modules/programs/calls.nix
  3. 1
      pkgs/applications/networking/calls/default.nix

@ -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

@ -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
];
};
}

@ -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 ];

Loading…
Cancel
Save