fork/home-manager

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

Robert Helgessontests: add option `test.stubs`cb09a968

master
390 B18 linesraw
1{ config, lib, pkgs, ... }:
2
3with lib;
4
5{
6  config = {
7    gtk.enable = true;
8    gtk.gtk2.configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc";
9
10    test.stubs.dconf = { };
11
12    nmt.script = ''
13      assertFileExists home-files/.config/gtk-2.0/gtkrc
14      assertFileRegex home-path/etc/profile.d/hm-session-vars.sh \
15          'GTK2_RC_FILES=.*/\.config/gtk-2.0/gtkrc'
16    '';
17  };
18}