autostart zj
Signed-off-by: Christoph Schmatzler <christoph@schmatzler.com>
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user