mirror of
https://github.com/nix-community/home-manager
synced 2024-12-27 04:09:47 +01:00
de8033747c
- Move all module tests to their own directories. - Avoid duplication of `// import`.
22 lines
445 B
Nix
22 lines
445 B
Nix
{ 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}
|
|
'';
|
|
};
|
|
}
|