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 = {
|
||||
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 {
|
||||
|
||||
Reference in New Issue
Block a user