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,
...
}:
let
cfg = config.modules.desktop.chat.element;
{ outputs, options, config, lib, pkgs, ... }:
let cfg = config.modules.desktop.chat.element;
in {
options.modules.desktop.chat.element = {
enable = lib.mkEnableOption false;
};
options.modules.desktop.chat.element = { enable = lib.mkEnableOption false; };
config = lib.mkIf cfg.enable {
users.users.sako.packages = with pkgs.stable; [
element-desktop
];
users.users.sako.packages = with pkgs.stable; [ element-desktop-wayland ];
};
}