terminator: add module (#2063)

added configuration for terminator
This commit is contained in:
Philipp Dargel 2021-06-17 17:06:47 +02:00 committed by GitHub
parent 3aa479d551
commit d04e52b0c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 103 additions and 0 deletions

View 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"''
}
'';
};
}

View file

@ -0,0 +1 @@
{ terminator-config-file = ./config-file.nix; }