fork/home-manager

git clone https://git.julia.blue/fork/home-manager

mat essfish: always run fish_indent7e81e7ae

master
859 B31 linesraw
1{ lib, pkgs, ... }:
2
3{
4  config = {
5    programs.bash.enable = true;
6    programs.fish.enable = true;
7    programs.zsh.enable = true;
8
9    programs.command-not-found.enable = true;
10
11    # Needed to avoid error with dummy fish package.
12    xdg.dataFile."fish/home-manager_generated_completions".source =
13      lib.mkForce (builtins.toFile "empty" "");
14
15    test.stubs.zsh = { };
16
17    programs.nix-index.enable = true;
18
19    # 'command-not-found' does not have a 'fish' integration
20    test.asserts.assertions.expected = [
21      ''
22        The 'programs.command-not-found.enable' option is mutually exclusive
23        with the 'programs.nix-index.enableBashIntegration' option.
24      ''
25      ''
26        The 'programs.command-not-found.enable' option is mutually exclusive
27        with the 'programs.nix-index.enableZshIntegration' option.
28      ''
29    ];
30  };
31}