From 8ea023fce898464bb2509f5e29d3792da21ada20 Mon Sep 17 00:00:00 2001 From: genofire Date: Wed, 15 Dec 2021 23:35:11 +0100 Subject: [PATCH] home/desktop-sway: workround for xwayland disable --- home/desktop-sway.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/home/desktop-sway.nix b/home/desktop-sway.nix index f5fb352..65fd667 100644 --- a/home/desktop-sway.nix +++ b/home/desktop-sway.nix @@ -9,27 +9,27 @@ in KDEConnect = mkOption { default = true; type = types.bool; - description = "enable foo"; + description = "enable KDEConnect support"; }; xwayland = mkOption { default = false; type = types.bool; - description = "enable foo"; + description = "enable xwayland support"; }; mail = mkOption { default = true; type = types.bool; - description = "enable foo"; + description = "enable mail support (thunderbird)"; }; nextcloud = mkOption { default = true; type = types.bool; - description = "enable foo"; + description = "enable nextcloud support"; }; XMPP = mkOption { default = true; type = types.bool; - description = "enable foo"; + description = "enable XMPP support ()"; }; }; @@ -356,6 +356,7 @@ in #{ command = "gajim"; } ]; }; + extraConfig = lib.optionals(!cfg.xwayland) "xwayland disable"; }; # use nixos's ....