fork/home-manager

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

Robert Helgessontests: add option `test.stubs`cb09a968

master
596 B32 linesraw
1{ pkgs, ... }:
2
3{
4  config = {
5    programs.feh.enable = true;
6
7    programs.feh.buttons = {
8      zoom_in = null;
9      zoom_out = 4;
10      next_img = "C-4";
11      prev_img = [ 3 "C-3" ];
12    };
13
14    programs.feh.keybindings = {
15      zoom_in = null;
16      zoom_out = "minus";
17      prev_img = [ "h" "Left" ];
18    };
19
20    test.stubs.feh = { };
21
22    nmt.script = ''
23      assertFileContent \
24        home-files/.config/feh/buttons \
25        ${./feh-bindings-expected-buttons}
26
27      assertFileContent \
28        home-files/.config/feh/keys \
29        ${./feh-bindings-expected-keys}
30    '';
31  };
32}