1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-27 04:09:47 +01:00
home-manager/tests/modules/xresources/xresources.nix

20 lines
404 B
Nix
Raw Normal View History

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