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 {
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 ....