1
0
mirror of https://github.com/nix-community/home-manager synced 2024-07-05 12:53:27 +02:00
home-manager/tests/modules/programs/terminator/config-file.nix

25 lines
538 B
Nix
Raw Normal View History

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