depot/third_party/home-manager/tests/modules/misc/gtk/gtk3-basic-settings.nix

25 lines
443 B
Nix
Raw Normal View History

{ config, lib, pkgs, ... }:
with lib;
{
config = {
gtk = {
enable = true;
gtk3.extraConfig = {
gtk-cursor-blink = false;
gtk-recent-files-limit = 20;
};
};
test.stubs.dconf = { };
nmt.script = ''
assertFileExists home-files/.config/gtk-3.0/settings.ini
assertFileContent home-files/.config/gtk-3.0/settings.ini \
${./gtk3-basic-settings-expected.ini}
'';
};
}