fork/home-manager

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

Robert Helgessontests: add option `test.stubs`cb09a968

master
511 B26 linesraw
1{ config, lib, pkgs, ... }:
2
3{
4  config = {
5    services.fnott = {
6      enable = true;
7      package = config.lib.test.mkStubPackage { };
8
9      settings = {
10        main = { notification-margin = 5; };
11
12        low = {
13          timeout = 5;
14          title-font = "Dina:weight=bold:slant=italic";
15          title-color = "ffffff";
16        };
17      };
18    };
19
20    nmt.script = ''
21      assertFileContent \
22        home-files/.config/fnott/fnott.ini \
23        ${./example-settings-expected.ini}
24    '';
25  };
26}