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 {