Working on reshuffling

This commit is contained in:
2026-03-19 08:56:37 +00:00
parent de7fb43d09
commit b95d7ca50a
2 changed files with 12 additions and 18 deletions
+6 -9
View File
@@ -1309,20 +1309,17 @@ let
starshipAssets = ../../../assets/system/conf/starship.toml;
starshipConfig = lib.importTOML starshipAssets;
enableStarship = true;
enablestarship = true; # toggle on/off
in
{
# Option to enable Starship
options.enableStarship = lib.mkEnableOption "Enable Starship prompt";
options.enablestarship = lib.mkEnableOption "Enable Starship prompt";
# Config applied only if enabled
config = lib.mkIf enableStarship {
# Home Manager users block avoids undefined `programs`
home-manager.users.henrov = {
programs.starship = {
# Everything is wrapped safely in config
config = lib.mkIf enablestarship {
# Just symbolic references to files, no pkgs or recursive config
programs.starship = {
enable = true;
settings = starshipConfig;
};
};
};
}