add signal
This commit is contained in:
parent
2443304f8d
commit
2a4b7cfc78
3 changed files with 23 additions and 0 deletions
|
@ -41,6 +41,7 @@
|
|||
teams.enable = true;
|
||||
telegram.enable = true;
|
||||
weechat.enable = true;
|
||||
signal.enable = true;
|
||||
};
|
||||
game = {
|
||||
lutris.enable = true;
|
||||
|
|
|
@ -6,5 +6,6 @@
|
|||
./discord
|
||||
./telegram
|
||||
./weechat
|
||||
./signal
|
||||
];
|
||||
}
|
||||
|
|
21
modules/desktop/chat/signal/default.nix
Normal file
21
modules/desktop/chat/signal/default.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue