fork/home-manager

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

Robert Helgessontests: add option `test.stubs`cb09a968

master
348 B17 linesraw
1{ config, lib, pkgs, ... }:
2
3with lib;
4
5let expected = builtins.toFile "settings-expected" "\n\n\n\n\n\n\n\n\n\n\n";
6in {
7  config = {
8    programs.lf = { enable = true; };
9
10    test.stubs.lf = { };
11
12    nmt.script = ''
13      assertFileExists home-files/.config/lf/lfrc
14      assertFileContent home-files/.config/lf/lfrc ${expected}
15    '';
16  };
17}