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.nix9
1 files changed, 4 insertions, 5 deletions
diff --git a/users/aspen/system/system/modules/xserver.nix b/users/aspen/system/system/modules/xserver.nix
index f78edb207e9d..fca49ab9cca0 100644
--- a/users/aspen/system/system/modules/xserver.nix
+++ b/users/aspen/system/system/modules/xserver.nix
@@ -5,12 +5,11 @@
     enable = true;
     xkb.layout = "us";
 
-    libinput.enable = true;
-
-    displayManager = {
-      defaultSession = "none+i3";
-    };
 
     windowManager.i3.enable = true;
   };
+
+  services.displayManager.defaultSession = "none+i3";
+
+  services.libinput.enable = true;
 }