fork/home-manager

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

Donovan Gloverpqiv: add module9db5b89f

master
496 B25 linesraw
1{ config, ... }:
2
3{
4  programs.pqiv = {
5    enable = true;
6    package = config.lib.test.mkStubPackage { name = "pqiv"; };
7    settings = {
8      options = {
9        hide-info-box = 1;
10        thumbnail-size = "256x256";
11      };
12    };
13  };
14
15  nmt.script = ''
16    assertFileExists home-files/.config/pqivrc
17    assertFileContent home-files/.config/pqivrc ${
18      builtins.toFile "pqiv.expected" ''
19        [options]
20        hide-info-box=1
21        thumbnail-size=256x256
22      ''
23    }
24  '';
25}