1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-05 10:49:44 +01:00
home-manager/tests/modules/programs/terminator/config-file.nix

25 lines
472 B
Nix
Raw Normal View History

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