diff --git a/Droidnix/README.org b/Droidnix/README.org index adc5a4b1e..222c57403 100644 --- a/Droidnix/README.org +++ b/Droidnix/README.org @@ -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; - }; }; }; } diff --git a/Droidnix/generated/modules/terminals/starship.nix b/Droidnix/generated/modules/terminals/starship.nix index 767cf22c1..b029a857c 100644 --- a/Droidnix/generated/modules/terminals/starship.nix +++ b/Droidnix/generated/modules/terminals/starship.nix @@ -4,20 +4,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; - }; }; }; }