1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-09 02:06:53 +00:00
home-manager/modules/lib
NAHO 5af1b9a0f1
treewide: standardize shell integration options
Standardize all 'programs.<PROGRAM>.enable<SHELL>Integration' options
with the following new functions:

- lib.hm.shell.mkBashIntegrationOption
- lib.hm.shell.mkFishIntegrationOption
- lib.hm.shell.mkIonIntegrationOption
- lib.hm.shell.mkNushellIntegrationOption
- lib.hm.shell.mkZshIntegrationOption

These functions should default to their corresponding global option:

- home.shell.enableBashIntegration
- home.shell.enableFishIntegration
- home.shell.enableIonIntegration
- home.shell.enableNushellIntegration
- home.shell.enableZshIntegration

All these global options default to the
'home.shell.enableShellIntegration' value.

This hierarchy standardizes the shell integration and increases end-user
flexibility.

BREAKING CHANGE: The following inconsistent default values change from
'false' to 'true':

- programs.zellij.enableBashIntegration
- programs.zellij.enableFishIntegration
- programs.zellij.enableZshIntegration

Link: https://github.com/nix-community/home-manager/pull/6358

Co-authored-by: Robert Helgesson <robert@rycee.net>
2025-02-08 22:49:40 +01:00
..
assertions.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
booleans.nix lib.booleans: add yesNo function (#2818) 2022-04-07 22:36:13 -06:00
dag.nix lib: add functions to create DAGs from lists 2023-06-05 23:08:30 +02:00
default.nix nushell: create generator helpers 2024-10-17 12:54:19 +02:00
file-type.nix lib/file-type: Make force option visible (#6003) 2024-11-16 20:54:20 +01:00
generators.nix lib/generators: toHyprconf init 2024-04-30 00:07:06 +02:00
gvariant.nix lib: add two new gvariant types 2022-09-29 13:05:51 +02:00
maintainers.nix lapce: add module (#5752) 2025-02-01 14:03:26 +01:00
nushell.nix nushell: add settings option 2025-01-29 18:22:07 +01:00
shell.nix treewide: standardize shell integration options 2025-02-08 22:49:40 +01:00
stdlib-extended.nix lib: add fallback for literalExpression and literalDocBook 2021-10-13 00:16:09 +02:00
strings.nix lib: remove top-level with lib 2021-10-31 08:50:53 +01:00
types-dag.nix lib: remove listOrDagOf type 2023-06-05 23:08:29 +02:00
types.nix nushell: create generator helpers 2024-10-17 12:54:19 +02:00
zsh.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00