2021-07-02 22:36:30 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
|
|
|
config = {
|
|
|
|
gtk = {
|
|
|
|
enable = true;
|
2023-01-10 09:35:00 +00:00
|
|
|
theme.name = "Adwaita";
|
2021-07-02 22:36:30 +00:00
|
|
|
gtk2.extraConfig = "gtk-can-change-accels = 1";
|
|
|
|
};
|
|
|
|
|
2021-11-04 16:42:44 +00:00
|
|
|
test.stubs.dconf = { };
|
|
|
|
|
2021-07-02 22:36:30 +00:00
|
|
|
nmt.script = ''
|
|
|
|
assertFileExists home-files/.gtkrc-2.0
|
2023-01-10 09:35:00 +00:00
|
|
|
|
|
|
|
assertFileContent home-files/.gtkrc-2.0 \
|
|
|
|
${./gtk2-basic-config-expected.conf}
|
|
|
|
|
2021-07-02 22:36:30 +00:00
|
|
|
assertFileRegex home-path/etc/profile.d/hm-session-vars.sh \
|
|
|
|
'GTK2_RC_FILES=.*/.gtkrc-2.0'
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|