mirror of
https://github.com/nix-community/home-manager
synced 2024-11-14 00:47:12 +00:00
Revert "[backport 22.11] starship: condition nushell integration on nushell 0.73+" (#3779)
This reverts commit 68163d27e9
.
This commit is contained in:
parent
68163d27e9
commit
9154cd519a
1 changed files with 0 additions and 8 deletions
|
@ -80,14 +80,6 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
assertions = [{
|
|
||||||
assertion = cfg.enableNushellIntegration
|
|
||||||
-> versionAtLeast config.programs.nushell.package.version "0.73";
|
|
||||||
message = ''
|
|
||||||
Nushell integration for starship requires nushell 0.73 or later.
|
|
||||||
'';
|
|
||||||
}];
|
|
||||||
|
|
||||||
home.packages = [ cfg.package ];
|
home.packages = [ cfg.package ];
|
||||||
|
|
||||||
xdg.configFile."starship.toml" = mkIf (cfg.settings != { }) {
|
xdg.configFile."starship.toml" = mkIf (cfg.settings != { }) {
|
||||||
|
|
Loading…
Reference in a new issue