home-manager/tests/modules/programs/terminator/config-file.nix

25 lines
472 B
Nix
Raw Normal View History

2023-07-08 08:12:35 +00:00
{ pkgs, ... }:
{
programs.terminator = {
enable = true;
config = {
global_config.borderless = true;
profiles.default.background_color = "#002b36";
};
2023-07-08 08:12:35 +00:00
};
2023-07-08 08:12:35 +00:00
test.stubs.terminator = { };
2023-07-08 08:12:35 +00:00
nmt.script = ''
assertFileContent home-files/.config/terminator/config ${
pkgs.writeText "expected" ''
[global_config]
borderless = True
[profiles]
[[default]]
background_color = "#002b36"''
}
'';
}