parent
3aa479d551
commit
d04e52b0c0
7 changed files with 103 additions and 0 deletions
22
tests/modules/programs/terminator/config-file.nix
Normal file
22
tests/modules/programs/terminator/config-file.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{ config, lib, pkgs, ... }: {
|
||||
config = {
|
||||
programs.terminator = {
|
||||
enable = true;
|
||||
config = {
|
||||
global_config.borderless = true;
|
||||
profiles.default.background_color = "#002b36";
|
||||
};
|
||||
};
|
||||
|
||||
nmt.script = ''
|
||||
assertFileContent home-files/.config/terminator/config ${
|
||||
pkgs.writeText "expected" ''
|
||||
[global_config]
|
||||
borderless = True
|
||||
[profiles]
|
||||
[[default]]
|
||||
background_color = "#002b36"''
|
||||
}
|
||||
'';
|
||||
};
|
||||
}
|
||||
1
tests/modules/programs/terminator/default.nix
Normal file
1
tests/modules/programs/terminator/default.nix
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ terminator-config-file = ./config-file.nix; }
|
||||
Loading…
Add table
Add a link
Reference in a new issue