fork/home-manager

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

Janikatuin: add disable key options (#3754)215af625

master
512 B24 linesraw
1{ lib, ... }:
2
3{
4  programs = {
5    atuin.enable = true;
6    fish.enable = true;
7  };
8
9  # Needed to avoid error with dummy fish package.
10  xdg.dataFile."fish/home-manager_generated_completions".source =
11    lib.mkForce (builtins.toFile "empty" "");
12
13  test.stubs = {
14    atuin = { };
15    bash-preexec = { };
16  };
17
18  nmt.script = ''
19    assertFileExists home-files/.config/fish/config.fish
20    assertFileContains \
21      home-files/.config/fish/config.fish \
22      '@atuin@/bin/atuin init fish | source'
23  '';
24}