desktop/chat: add psi-plus

This commit is contained in:
Sakooooo 2024-10-12 11:22:45 +04:00
parent c431bafcb0
commit 7239672bc9
Signed by: sako
GPG key ID: FE52FD65B76E4751
2 changed files with 13 additions and 0 deletions

View file

@ -10,5 +10,6 @@
./element
./gajim
./pidgin
./psiplus
];
}

View file

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