diff options
| author | Kyren223 <contact@kyren.codes> | 2025-08-28 13:32:10 +0300 |
|---|---|---|
| committer | Kyren223 <contact@kyren.codes> | 2025-08-28 13:32:10 +0300 |
| commit | 3b7b79a79b1c31450aff22e6f4f652ad966e9341 (patch) | |
| tree | fe9e9438ba3f9312ed6fe76a37731e76f5cf07fc /modules/display.nix | |
| parent | e04010cf9cac8b25ab94522013857e342aaf2ccd (diff) | |
Re-enabled Xwayland?
Diffstat (limited to 'modules/display.nix')
| -rw-r--r-- | modules/display.nix | 27 |
1 files changed, 27 insertions, 0 deletions
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 = ""; + }; + +} |
