1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-05 08:31:03 +01:00
home-manager/tests/modules/programs/anvil-editor/settings.nix
2025-10-11 22:14:37 -05:00

37 lines
831 B
Nix

{
programs.anvil-editor = {
enable = true;
settings = {
general.exec = [
"aad"
"ado"
];
layout.column-tag = "New Cut Paste Snarf Zerox Delcol";
typesetting.replace-cr-with-tofu = false;
env = {
FOO = "BAR";
BAR = "FOO";
};
};
style = {
TagFgColor = "#fefefe";
TagBgColor = "#263859";
BodyBgColor = "#17223b";
ScrollFgColor = "#17223b";
ScrollBgColor = "#6b778d";
GutterWidth = 14;
WinBorderColor = "#000000";
};
};
nmt.script = ''
assertFileExists home-files/.anvil/settings.toml
assertFileExists home-files/.anvil/style.js
assertFileContent home-files/.anvil/settings.toml \
${./settings.toml}
assertFileContent home-files/.anvil/style.js \
${./style.js}
'';
}