summaryrefslogtreecommitdiff
path: root/modules/display.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/display.nix')
-rw-r--r--modules/display.nix27
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 = "";
+ };
+
+}