summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/programs/i3.nix15
1 files 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; [