Make i3 the default window manager
Alan Pearce alan@alanpearce.eu
Sat, 28 Sep 2019 20:27:33 +0200
1 files changed, 9 insertions(+), 6 deletions(-)
jump to
M modules/programs/i3.nix → 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; [