about summary refs log tree commit diff
path: root/users/aspen/system/system/modules/xserver.nix
diff options
context:
space:
mode:
Diffstat (limited to 'users/aspen/system/system/modules/xserver.nix')
-rw-r--r--users/aspen/system/system/modules/xserver.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/users/aspen/system/system/modules/xserver.nix b/users/aspen/system/system/modules/xserver.nix
new file mode 100644
index 000000000000..35ee44112ea1
--- /dev/null
+++ b/users/aspen/system/system/modules/xserver.nix
@@ -0,0 +1,16 @@
+{ config, pkgs, ... }:
+{
+  # Enable the X11 windowing system.
+  services.xserver = {
+    enable = true;
+    layout = "us";
+
+    libinput.enable = true;
+
+    displayManager = {
+      defaultSession = "none+i3";
+    };
+
+    windowManager.i3.enable = true;
+  };
+}