777 current 2024-06-26 16:37:29 24.11.20240626.e10b0f9 6.9.6-zen1 *

This commit is contained in:
zackartz 2024-06-26 16:37:32 -04:00
parent 08e36e48f2
commit 2c2fef30d9
No known key found for this signature in database
GPG key ID: 5B53E53A9A514DBA
3 changed files with 29 additions and 7 deletions

View file

@ -0,0 +1,22 @@
{
lib,
config,
pkgs,
...
}:
with lib;
with lib.custom; let
cfg = config.wms.sway;
in {
options.wms.sway = with types; {
enable = mkBoolOpt false "Enable Sway";
};
config = mkIf cfg.enable {
wayland.windowManager.sway = {
enable = true;
xwayland = true;
extraOptions = ["--unsupported-gpu"];
};
};
}