From 3aa24701ef175a955a1160010eb8c39437c33984 Mon Sep 17 00:00:00 2001 From: Christoph Schmatzler Date: Sun, 1 Mar 2026 13:24:14 +0000 Subject: [PATCH] autostart zj Signed-off-by: Christoph Schmatzler --- profiles/zellij.nix | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/profiles/zellij.nix b/profiles/zellij.nix index 06086c2..26ae4ca 100644 --- a/profiles/zellij.nix +++ b/profiles/zellij.nix @@ -1,4 +1,9 @@ -{pkgs, ...}: { +{ + pkgs, + lib, + osConfig, + ... +}: { programs.zellij = { enable = true; settings = { @@ -11,6 +16,13 @@ }; }; + programs.nushell.extraConfig = + lib.optionalString (osConfig.networking.hostName == "tahani") '' + if 'ZELLIJ' not-in ($env | columns) { + zellij + } + ''; + xdg.configFile."zellij/layouts/default.kdl".text = '' layout { default_tab_template {