use element-desktop-wayland because total xorg death

This commit is contained in:
Sakooooo 2024-11-30 22:39:45 +04:00
parent 51eaa389cf
commit 95bfeaede4
Signed by: sako
GPG key ID: FE52FD65B76E4751

View file

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