Add modules/desktop/apps/signal
This commit is contained in:
parent
404e0c2881
commit
1ea4dea1d1
|
@ -13,6 +13,7 @@
|
|||
discord.enable = true;
|
||||
rofi.enable = true;
|
||||
# godot.enable = true;
|
||||
signal.enable = true;
|
||||
};
|
||||
browsers = {
|
||||
default = "brave";
|
||||
|
|
17
modules/desktop/apps/signal.nix
Normal file
17
modules/desktop/apps/signal.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{ 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
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue