add teams module

This commit is contained in:
Sakooooo 2023-08-30 10:12:15 +04:00
parent 6115d9f28e
commit cae04fec0b
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

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