made script for steam on xwayland satelite

This commit is contained in:
Geir Okkenhaug Jerstad 2025-06-12 17:37:12 +02:00
parent fc1482494f
commit 1a4e7fd3f6
6 changed files with 161 additions and 18 deletions

View file

@ -1,20 +1,27 @@
{ config, pkgs, ... }: {
{
config,
pkgs,
...
}: {
# Common desktop configuration shared across all environments
# XDG Portal configuration for Wayland/X11 compatibility
xdg.portal = {
enable = true;
wlr.enable = true;
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
extraPortals = [pkgs.xdg-desktop-portal-gtk];
};
# Display manager and session management
services.dbus.enable = true;
# Enable XWayland for X11 app compatibility (Steam, etc.)
programs.xwayland.enable = true;
# Common desktop packages
environment.systemPackages = with pkgs; [
firefox
];
# Flatpak support
services.flatpak.enable = true;
}
}