add weechat
This commit is contained in:
parent
2390130d37
commit
85d473dc66
5 changed files with 27 additions and 0 deletions
|
@ -42,6 +42,7 @@
|
|||
discord.enable = true;
|
||||
teams.enable = true;
|
||||
telegram.enable = true;
|
||||
weechat.enable = true;
|
||||
};
|
||||
game = {
|
||||
lutris.enable = true;
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
discord.enable = true;
|
||||
teams.enable = true;
|
||||
telegram.enable = true;
|
||||
weechat.enable = true;
|
||||
};
|
||||
apps = {
|
||||
nemo.enable = true;
|
||||
|
|
|
@ -114,6 +114,9 @@
|
|||
nextcloud.enable = true;
|
||||
pass.enable = true;
|
||||
};
|
||||
chat = {
|
||||
weechat.enable = true;
|
||||
};
|
||||
};
|
||||
dev = {
|
||||
editors = {
|
||||
|
|
|
@ -5,5 +5,6 @@
|
|||
./zoom
|
||||
./discord
|
||||
./telegram
|
||||
./weechat
|
||||
];
|
||||
}
|
||||
|
|
21
modules/desktop/chat/weechat/default.nix
Normal file
21
modules/desktop/chat/weechat/default.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
outputs,
|
||||
options,
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.modules.desktop.chat.whatsapp;
|
||||
in {
|
||||
options.modules.desktop.chat.weechat = {
|
||||
enable = mkEnableOption false;
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
users.users.sako.packages = with pkgs; [
|
||||
weechat
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue