2021-04-30 08:56:01 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
|
|
|
config = {
|
|
|
|
gtk = {
|
|
|
|
enable = true;
|
2022-03-20 21:22:56 +01:00
|
|
|
theme.name = "Adwaita";
|
2021-04-30 08:56:01 +02:00
|
|
|
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
|
2022-03-17 20:30:48 +01:00
|
|
|
|
|
|
|
assertFileContent home-files/.gtkrc-2.0 \
|
|
|
|
${./gtk2-basic-config-expected.conf}
|
|
|
|
|
2021-04-30 08:56:01 +02:00
|
|
|
assertFileRegex home-path/etc/profile.d/hm-session-vars.sh \
|
|
|
|
'GTK2_RC_FILES=.*/.gtkrc-2.0'
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|