mirror of
https://github.com/nix-community/home-manager.git
synced 2025-03-09 10:16:55 +00:00
Instead of having to manually stub packages that should not be downloaded we instead automatically stub all packages (except a small list of whitelisted ones). Tests can re-introduce the real package by using the `realPkgs` module argument.
17 lines
380 B
Nix
17 lines
380 B
Nix
{
|
|
gtk = {
|
|
enable = true;
|
|
theme.name = "Adwaita";
|
|
gtk2.extraConfig = "gtk-can-change-accels = 1";
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/.gtkrc-2.0
|
|
|
|
assertFileContent home-files/.gtkrc-2.0 \
|
|
${./gtk2-basic-config-expected.conf}
|
|
|
|
assertFileRegex home-path/etc/profile.d/hm-session-vars.sh \
|
|
'GTK2_RC_FILES=.*/.gtkrc-2.0'
|
|
'';
|
|
}
|