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;
|
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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -7,5 +7,6 @@
|
||||||
./weechat
|
./weechat
|
||||||
./signal
|
./signal
|
||||||
./cinny
|
./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