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