about summary refs log tree commit diff
path: root/users/fcuny
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-08 17:28:55 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-08 17:28:55 -0800
commit3f9f7e7db43b826b97a7d3bc0da38a6e25db65f9 (patch)
tree482e960b7e644212c270e68c1266b7fce1cfd2c1 /users/fcuny
parenti3: move configuration to home-manager (diff)
downloadworld-3f9f7e7db43b826b97a7d3bc0da38a6e25db65f9.tar.gz
i3: separate configuration for xserver and i3
Let's first configure the xserver in the desktop module, then we can
have a configuration for i3 in the home-manager.
Diffstat (limited to 'users/fcuny')
-rw-r--r--users/fcuny/i3.nix24
1 files changed, 4 insertions, 20 deletions
diff --git a/users/fcuny/i3.nix b/users/fcuny/i3.nix
index 3e1a626..74fefb2 100644
--- a/users/fcuny/i3.nix
+++ b/users/fcuny/i3.nix
@@ -1,24 +1,11 @@
 { config, pkgs, lib, ... }:
 
 {
-  services.xserver = {
-    enable = true;
-    layout = "us";
-    xkbOptions = "eurosign:e";
-    libinput.enable = true;
-
-    desktopManager = {
-      xterm.enable = false;
-    };
-
-    displayManager = {
-      lightdm.enable = true;
-    };
+  xsession.enable = true;
 
-    windowManager = {
-      i3.enable = true;
-    };
-  };
+  xsession.windowManager.i3 = {
+    enable = true;
+  }
 
   programs.rofi = {
     enable = true;
@@ -31,7 +18,4 @@
       combi-modi = "window,drun,ssh";
     };
   };
-
-  services.gnome.gnome-keyring.enable = true;
-  services.gvfs.enable = true;
 }