fork/home-manager

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

Robert Helgessontests: add option `test.stubs`cb09a968

master
698 B30 linesraw
1{ config, pkgs, ... }:
2
3{
4  config = {
5    services.gammastep = {
6      enable = true;
7      provider = "manual";
8      dawnTime = "6:00-7:45";
9      duskTime = "18:35-20:15";
10      settings = {
11        general = {
12          adjustment-method = "randr";
13          gamma = 0.8;
14        };
15        randr = { screen = 0; };
16      };
17    };
18
19    test.stubs.gammastep = { };
20
21    nmt.script = ''
22      assertFileContent \
23          home-files/.config/gammastep/config.ini \
24          ${./gammastep-basic-configuration-file-expected.conf}
25      assertFileContent \
26          home-files/.config/systemd/user/gammastep.service \
27          ${./gammastep-basic-configuration-expected.service}
28    '';
29  };
30}