1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-14 15:19:45 +01:00
home-manager/tests/modules/xresources/xresources.nix

23 lines
445 B
Nix
Raw Normal View History

2018-12-11 00:51:48 +01:00
{ config, lib, ... }:
with lib;
{
config = {
xresources = {
properties = {
"Test*string" = "test-string";
"Test*boolean1" = true;
"Test*boolean2" = false;
"Test*int" = 10;
"Test*list" = [ "list-str" true false 10 ];
};
};
nmt.script = ''
assertFileExists home-files/.Xresources
assertFileContent home-files/.Xresources ${./xresources-expected.conf}
'';
};
}