From eba58fc4070ae930a12f83063e207fc1aeacc13d Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Sat, 30 Nov 2024 22:45:15 +0400 Subject: [PATCH] Revert "use element-desktop-wayland because total xorg death" This reverts commit 95bfeaede40d7bc78be19cc2dd2473bd11172012. --- modules/desktop/chat/element/default.nix | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/modules/desktop/chat/element/default.nix b/modules/desktop/chat/element/default.nix index 44b42f94..1121d4f6 100644 --- a/modules/desktop/chat/element/default.nix +++ b/modules/desktop/chat/element/default.nix @@ -1,10 +1,22 @@ -{ 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-wayland ]; + users.users.sako.packages = with pkgs.stable; [ + element-desktop + ]; }; }