2021-04-30 08:56:01 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
|
|
|
config = {
|
|
|
|
gtk = {
|
|
|
|
enable = true;
|
|
|
|
gtk2.extraConfig = "gtk-can-change-accels = 1";
|
|
|
|
};
|
|
|
|
|
2021-09-26 11:08:45 +02:00
|
|
|
test.stubs.dconf = { };
|
|
|
|
|
2021-04-30 08:56:01 +02:00
|
|
|
nmt.script = ''
|
|
|
|
assertFileExists home-files/.gtkrc-2.0
|
2021-05-18 00:47:15 +02:00
|
|
|
assertFileContent home-files/.gtkrc-2.0 ${
|
2021-04-30 08:56:01 +02:00
|
|
|
./gtk-basic-config-expected.conf
|
2021-05-18 00:47:15 +02:00
|
|
|
}
|
2021-04-30 08:56:01 +02:00
|
|
|
assertFileRegex home-path/etc/profile.d/hm-session-vars.sh \
|
|
|
|
'GTK2_RC_FILES=.*/.gtkrc-2.0'
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|