System/home-manager/modules/programs/sway.nix
2025-07-08 15:03:40 -04:00

24 lines
412 B
Nix

{
config,
lib,
pkgs,
inputs',
...
}: {
home.packages = with pkgs; [
inputs'.nixpkgs-unstable.legacyPackages.xwayland-satellite
];
wayland.windowManger.sway = {
enable = true;
package = null;
sway = {
xwayland = false;
config = {
modifer = "Mod4";
startup = [
{command = "env DISPLAY=:0 xwayland-satellite";}
];
};
};
};
}