From 3b7b79a79b1c31450aff22e6f4f652ad966e9341 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Thu, 28 Aug 2025 13:32:10 +0300 Subject: Re-enabled Xwayland? --- modules/display.nix | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 modules/display.nix (limited to 'modules/display.nix') diff --git a/modules/display.nix b/modules/display.nix new file mode 100644 index 0000000..9e88f9e --- /dev/null +++ b/modules/display.nix @@ -0,0 +1,27 @@ +{ ... }: { + + programs.hyprland.enable = true; + # Optional, hint electron apps to use wayland: + # environment.sessionVariables.NIXOS_OZONE_WL = "1"; + + # # Enable the KDE Plasma Desktop Environment. + # services.displayManager.sddm.enable = true; + # services.desktopManager.plasma6.enable = true; + # services.displayManager.sddm.settings = { + # Autologin = { + # Session = "plasma.desktop"; + # User = "kyren"; + # }; + # }; + + # Enable the X11 windowing system. + # You can disable this if you're only using the Wayland session. + services.xserver.enable = true; + + # Configure keymap in X11 + services.xserver.xkb = { + layout = "us"; + variant = ""; + }; + +} -- cgit v1.3.1