fork/home-manager

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

mat essfish: always run fish_indent7e81e7ae

master
710 B30 linesraw
1{ lib, ... }:
2
3{
4  programs = {
5    atuin = {
6      enable = true;
7      enableBashIntegration = false;
8      enableZshIntegration = false;
9      enableFishIntegration = false;
10    };
11    bash.enable = true;
12    zsh.enable = true;
13    fish.enable = true;
14  };
15
16  # Needed to avoid error with dummy fish package.
17  xdg.dataFile."fish/home-manager_generated_completions".source =
18    lib.mkForce (builtins.toFile "empty" "");
19
20  test.stubs = {
21    atuin = { };
22    bash-preexec = { };
23  };
24
25  nmt.script = ''
26    assertFileNotRegex home-files/.zshrc 'atuin init zsh'
27    assertFileNotRegex home-files/.bashrc 'atuin init bash'
28    assertFileNotRegex home-files/.config/fish/config.fish 'atuin init fish'
29  '';
30}