about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--users/glittershark/system/home/modules/i3.nix3
-rw-r--r--users/glittershark/system/system/modules/xserver.nix14
2 files changed, 15 insertions, 2 deletions
diff --git a/users/glittershark/system/home/modules/i3.nix b/users/glittershark/system/home/modules/i3.nix
index f5fdb3a02c..e5f9cb5303 100644
--- a/users/glittershark/system/home/modules/i3.nix
+++ b/users/glittershark/system/home/modules/i3.nix
@@ -51,7 +51,8 @@ in {
         peek
       ];
 
-      xsession.scriptPath = ".hm-xsession";
+      xsession.scriptPath = ".xsession";
+
       xsession.windowManager.i3 = {
         enable = true;
         config = {
diff --git a/users/glittershark/system/system/modules/xserver.nix b/users/glittershark/system/system/modules/xserver.nix
index 813884fa6d..b4946f13bd 100644
--- a/users/glittershark/system/system/modules/xserver.nix
+++ b/users/glittershark/system/system/modules/xserver.nix
@@ -7,7 +7,19 @@
 
     libinput.enable = true;
 
-#     windowManager.i3 = {
+    displayManager = {
+      defaultSession = "none+i3";
+
+      lightdm = {
+        enable = true;
+        autoLogin = {
+          enable = true;
+          user = "grfn";
+        };
+      };
+    };
+
+    windowManager.i3.enable = true;
 #       enable = true;
 #       extraPackages = with pkgs; [
 #         i3status