diff options
author | Franck Cuny <franck@fcuny.net> | 2022-02-08 17:28:55 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-02-08 17:28:55 -0800 |
commit | 3f9f7e7db43b826b97a7d3bc0da38a6e25db65f9 (patch) | |
tree | 482e960b7e644212c270e68c1266b7fce1cfd2c1 /users/fcuny | |
parent | i3: move configuration to home-manager (diff) | |
download | world-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 '')
-rw-r--r-- | users/fcuny/i3.nix | 24 |
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; } |