about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2020-08-13T22·33-0400
committerglittershark <grfn@gws.fyi>2020-08-13T22·34+0000
commit717939bc12f3e447a69bd6e5c5b9e5745551571d (patch)
tree7002950acd0660c7f9c5d1da501ec128932ad382
parent8af65f6858ff09415d892638a3fb6506d125e049 (diff)
feat(chupacabra): Enable X auto-login r/1644
I have an encrypted drive, so this extra layer of security is pointless

Change-Id: Ifa523ee5ea545b5ee17536d34f60d7235e47f25c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1741
Tested-by: BuildkiteCI
Reviewed-by: glittershark <grfn@gws.fyi>
-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 f5fdb3a02cd7..e5f9cb5303f2 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 813884fa6dfb..b4946f13bde1 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