From 83576e0142e1973411ddb635af07e73e8c35372c Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 28 Sep 2019 20:27:33 +0200 Subject: Make i3 the default window manager --- modules/programs/i3.nix | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/modules/programs/i3.nix b/modules/programs/i3.nix index b18d1bc..017f393 100644 --- a/modules/programs/i3.nix +++ b/modules/programs/i3.nix @@ -1,11 +1,14 @@ { config, pkgs, ... }: -{ services.xserver.windowManager.i3 = { - enable = true; - extraSessionCommands = '' - ${pkgs.dunst}/bin/dunst & - ${pkgs.sxhkd}/bin/sxhkd & - ''; +{ services.xserver.windowManager = { + default = "i3"; + i3 = { + enable = true; + extraSessionCommands = '' + ${pkgs.dunst}/bin/dunst & + ${pkgs.sxhkd}/bin/sxhkd & + ''; + }; }; environment.systemPackages = with pkgs; [ -- cgit 1.4.1