home/desktop-sway: workround for xwayland disable

This commit is contained in:
genofire 2021-12-15 23:35:11 +01:00
parent a8c930f589
commit 8ea023fce8
1 changed files with 6 additions and 5 deletions

View File

@ -9,27 +9,27 @@ in
KDEConnect = mkOption { KDEConnect = mkOption {
default = true; default = true;
type = types.bool; type = types.bool;
description = "enable foo"; description = "enable KDEConnect support";
}; };
xwayland = mkOption { xwayland = mkOption {
default = false; default = false;
type = types.bool; type = types.bool;
description = "enable foo"; description = "enable xwayland support";
}; };
mail = mkOption { mail = mkOption {
default = true; default = true;
type = types.bool; type = types.bool;
description = "enable foo"; description = "enable mail support (thunderbird)";
}; };
nextcloud = mkOption { nextcloud = mkOption {
default = true; default = true;
type = types.bool; type = types.bool;
description = "enable foo"; description = "enable nextcloud support";
}; };
XMPP = mkOption { XMPP = mkOption {
default = true; default = true;
type = types.bool; type = types.bool;
description = "enable foo"; description = "enable XMPP support ()";
}; };
}; };
@ -356,6 +356,7 @@ in
#{ command = "gajim"; } #{ command = "gajim"; }
]; ];
}; };
extraConfig = lib.optionals(!cfg.xwayland) "xwayland disable";
}; };
# use nixos's .... # use nixos's ....