diff --git a/nixos/modules/programs/fish.nix b/nixos/modules/programs/fish.nix index 8dd7101947fae..dbe84c5bdb9bf 100644 --- a/nixos/modules/programs/fish.nix +++ b/nixos/modules/programs/fish.nix @@ -43,6 +43,14 @@ in { + imports = [ + (mkRemovedOptionModule [ "programs" "fish" "promptInit" ] '' + Prompt is now configured through the + programs.fish.interactiveShellInit + option. Please change to use that instead. + '') + ]; + options = { programs.fish = { @@ -133,14 +141,6 @@ in type = types.lines; }; - promptInit = mkOption { - default = ""; - description = '' - Shell script code used to initialise fish prompt. - ''; - type = types.lines; - }; - }; }; @@ -227,7 +227,6 @@ in ${sourceEnv "interactiveShellInit"} - ${cfg.promptInit} ${cfg.interactiveShellInit} # and leave a note so we don't source this config section again from