2021-04-30 06:56:01 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
|
|
|
config = {
|
|
|
|
gtk = {
|
|
|
|
enable = true;
|
2022-03-20 20:22:56 +00:00
|
|
|
theme.name = "Adwaita";
|
2021-04-30 06:56:01 +00:00
|
|
|
gtk2.extraConfig = "gtk-can-change-accels = 1";
|
|
|
|
};
|
|
|
|
|
2021-09-26 09:08:45 +00:00
|
|
|
test.stubs.dconf = { };
|
|
|
|
|
2021-04-30 06:56:01 +00:00
|
|
|
nmt.script = ''
|
|
|
|
assertFileExists home-files/.gtkrc-2.0
|
2022-03-17 19:30:48 +00:00
|
|
|
|
|
|
|
assertFileContent home-files/.gtkrc-2.0 \
|
|
|
|
${./gtk2-basic-config-expected.conf}
|
|
|
|
|
2021-04-30 06:56:01 +00:00
|
|
|
assertFileRegex home-path/etc/profile.d/hm-session-vars.sh \
|
|
|
|
'GTK2_RC_FILES=.*/.gtkrc-2.0'
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|