This commit is contained in:
Sakooooo 2024-09-02 11:19:46 +04:00
parent 3a08e9affc
commit f1cfce48d3
Signed by: sako
GPG key ID: 3FD715D87D7725E0
4 changed files with 25 additions and 1 deletions

View file

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

View file

@ -44,7 +44,7 @@
teams.enable = true; teams.enable = true;
telegram.enable = true; telegram.enable = true;
weechat.enable = true; weechat.enable = true;
cinny.enable = true; element.enable = true;
}; };
apps = { apps = {
nemo.enable = true; nemo.enable = true;

View file

@ -7,5 +7,6 @@
./weechat ./weechat
./signal ./signal
./cinny ./cinny
./element
]; ];
} }

View file

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