add signal

This commit is contained in:
Sakooooo 2024-07-05 10:44:36 +04:00
parent 2443304f8d
commit 2a4b7cfc78
Signed by: sako
GPG key ID: FE52FD65B76E4751
3 changed files with 23 additions and 0 deletions

View file

@ -41,6 +41,7 @@
teams.enable = true; teams.enable = true;
telegram.enable = true; telegram.enable = true;
weechat.enable = true; weechat.enable = true;
signal.enable = true;
}; };
game = { game = {
lutris.enable = true; lutris.enable = true;

View file

@ -6,5 +6,6 @@
./discord ./discord
./telegram ./telegram
./weechat ./weechat
./signal
]; ];
} }

View file

@ -0,0 +1,21 @@
{
outputs,
options,
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.modules.desktop.chat.signal;
in {
options.modules.desktop.chat.signal = {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
signal-desktop
];
};
}