autostart zj

Signed-off-by: Christoph Schmatzler <christoph@schmatzler.com>
This commit is contained in:
2026-03-01 13:24:14 +00:00
parent 5ca98860b1
commit 3aa24701ef

View File

@@ -1,4 +1,9 @@
{pkgs, ...}: { {
pkgs,
lib,
osConfig,
...
}: {
programs.zellij = { programs.zellij = {
enable = true; enable = true;
settings = { 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 = '' xdg.configFile."zellij/layouts/default.kdl".text = ''
layout { layout {
default_tab_template { default_tab_template {