diff --git a/configuration.nix b/configuration.nix index 2c92160..2975368 100644 --- a/configuration.nix +++ b/configuration.nix @@ -78,7 +78,7 @@ }; programs.steam.enable = true; - programs.xwayland.enable = true; + programs.sway.enable = true; programs.zsh.enable = true; security.pam.services.swaylock = {}; diff --git a/niri.nix b/niri.nix index d3f71c4..3da3bd5 100644 --- a/niri.nix +++ b/niri.nix @@ -38,22 +38,6 @@ }; }; - xdg.configFile."environment.d/xwayland.conf".text = "DISPLAY=:0\n"; - - systemd.user.services.xwayland-satellite = { - Unit = { - Description = "Xwayland for niri"; - BindsTo = [ "graphical-session.target" ]; - After = [ "graphical-session.target" ]; - }; - Service = { - ExecStart = "${pkgs.xwayland-satellite}/bin/xwayland-satellite"; - ExecStartPost = "${pkgs.systemd}/bin/systemctl --user set-environment DISPLAY=:0"; - Restart = "on-failure"; - }; - Install.WantedBy = [ "graphical-session.target" ]; - }; - home.packages = with pkgs; [ # wayland / desktop libnotify