Compare commits
2 Commits
2ba00478d4
...
caf189ac3b
| Author | SHA1 | Date | |
|---|---|---|---|
| caf189ac3b | |||
| 29669c5b27 |
+327
-338
File diff suppressed because it is too large
Load Diff
@@ -1118,15 +1118,7 @@ in
|
|||||||
# Kitty config (main + theme)
|
# Kitty config (main + theme)
|
||||||
xdg.configFile."kitty/kitty.conf".source = "${flakeRoot}/assets/conf/kitty/kitty.conf";
|
xdg.configFile."kitty/kitty.conf".source = "${flakeRoot}/assets/conf/kitty/kitty.conf";
|
||||||
|
|
||||||
# Starship (with your custom config)
|
|
||||||
programs.starship = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
# This ensures Starship uses your config file
|
|
||||||
configFile = "${flakeRoot}/assets/conf/starship.toml";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
|
||||||
}
|
}
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
|||||||
@@ -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