about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/user/devhell/profiles/services.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/user/devhell/profiles/services.nix b/modules/user/devhell/profiles/services.nix
index b2c63fd4..aa6d21ca 100644
--- a/modules/user/devhell/profiles/services.nix
+++ b/modules/user/devhell/profiles/services.nix
@@ -78,8 +78,9 @@ in {
     services.xserver.windowManager.i3 = {
       enable = true;
       package = pkgs.i3-gaps;
-      extraPackages = with pkgs; [ polybar i3status-rust i3blocks-gaps
-                                   i3-auto-layout rofi ];
+      extraPackages = with pkgs; [ polybar i3status-rust i3blocks-gaps rofi ]
+        ++ lib.optional (pkgs ? i3-auto-layout) [ pkgs.i3-auto-layout ];
+      # FIXME: lib.optional construct can be removed if i3-auto-layout is in unstable
     };
 
     services.journald.extraConfig = ''