Working on terminal / zsh
This commit is contained in:
+327
-338
File diff suppressed because it is too large
Load Diff
@@ -10,9 +10,8 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
# Kitty config (main + theme)
|
# Kitty config (main + theme)
|
||||||
xdg.configFile."kitty/kitty.conf".source = "${flakeRoot}/assets/common/conf/kitty/kitty.conf";
|
xdg.configFile."kitty/kitty.conf".source = "${flakeRoot}/assets/conf/kitty/kitty.conf";
|
||||||
|
|
||||||
/*
|
|
||||||
# Starship (with your custom config)
|
# Starship (with your custom config)
|
||||||
programs.starship = {
|
programs.starship = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -21,14 +20,5 @@ in
|
|||||||
configFile = "${flakeRoot}/assets/conf/starship.toml";
|
configFile = "${flakeRoot}/assets/conf/starship.toml";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
*/
|
|
||||||
|
|
||||||
# Ensure Kitty's shell starts Starship
|
|
||||||
xdg.configFile."kitty/kitty.conf".text = lib.concatStringsSep "\n" [
|
|
||||||
(builtins.readFile "${flakeRoot}/assets/common/conf/kitty/kitty.conf")
|
|
||||||
""
|
|
||||||
"# Ensure Starship is loaded in Kitty's shell"
|
|
||||||
"shell ${pkgs.zsh}/bin/zsh -c \"${pkgs.starship}/bin/starship init zsh | source\""
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user