diff options
Diffstat (limited to 'modules/programs')
-rw-r--r-- | modules/programs/i3.nix | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/modules/programs/i3.nix b/modules/programs/i3.nix index b18d1bce..017f393e 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; [ |