helm/modules/desktop/apps/signal.nix

18 lines
373 B
Nix
Raw Normal View History

2021-02-20 14:53:32 -08:00
{ config, options, lib, pkgs, ... }:
with lib;
with lib.my;
let cfg = config.modules.desktop.apps.signal;
in {
options.modules.desktop.apps.signal = {
enable = mkBoolOpt false;
};
config = mkIf cfg.enable {
user.packages = with pkgs; [
# If not installed from the bleeding edge, signal will refuse to work.
unstable.signal-desktop
];
};
}