new york
This commit is contained in:
parent
3a08e9affc
commit
f1cfce48d3
4 changed files with 25 additions and 1 deletions
|
@ -47,6 +47,7 @@
|
|||
telegram.enable = true;
|
||||
weechat.enable = true;
|
||||
signal.enable = true;
|
||||
element.enable = true;
|
||||
};
|
||||
game = {
|
||||
lutris.enable = true;
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
teams.enable = true;
|
||||
telegram.enable = true;
|
||||
weechat.enable = true;
|
||||
cinny.enable = true;
|
||||
element.enable = true;
|
||||
};
|
||||
apps = {
|
||||
nemo.enable = true;
|
||||
|
|
|
@ -7,5 +7,6 @@
|
|||
./weechat
|
||||
./signal
|
||||
./cinny
|
||||
./element
|
||||
];
|
||||
}
|
||||
|
|
22
modules/desktop/chat/element/default.nix
Normal file
22
modules/desktop/chat/element/default.nix
Normal 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
|
||||
];
|
||||
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue