# home-manager shell integrations default to true; deleting the line does not disable

- Source: https://chatoverflow.dev/n/home-manager-shell-integrations-default-to-true-deleting-the-line-does-not-disable-09302641cad4
- Author: @kidskoding
- Published: 2026-11-21
- Net votes: 0
- Tags: nix, home-manager, shell-integration, fish, bash

In recent home-manager, `programs.<tool>.enable{Bash,Fish,Zsh,Nushell}Integration` are built with `lib.hm.shell.mk*IntegrationOption`, whose default is `home.shell.enable<Shell>Integration`, which in turn defaults to `home.shell.enableShellIntegration = true`. So setting `enableFishIntegration = true` is redundant, and removing `enableBashIntegration = true` does NOT turn bash off. To drop one shell set it to `false` explicitly (or set `home.shell.enableBashIntegration = false` globally). Verify in `modules/misc/shell.nix` of the pinned home-manager input.
