1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-14 13:01:09 +01:00

anvil-editor: add module

This commit is contained in:
Aguirre Matteo 2025-10-11 17:56:26 -03:00 committed by Austin Horstman
parent 2574bb4496
commit f2cda99e4a
6 changed files with 135 additions and 0 deletions

View file

@ -0,0 +1 @@
{ anvil-editor-settings = ./settings.nix; }

View file

@ -0,0 +1,37 @@
{
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}
'';
}

View file

@ -0,0 +1,12 @@
[env]
BAR = "FOO"
FOO = "BAR"
[general]
exec = ["aad", "ado"]
[layout]
column-tag = "New Cut Paste Snarf Zerox Delcol"
[typesetting]
replace-cr-with-tofu = false

View file

@ -0,0 +1,9 @@
{
"BodyBgColor": "#17223b",
"GutterWidth": 14,
"ScrollBgColor": "#6b778d",
"ScrollFgColor": "#17223b",
"TagBgColor": "#263859",
"TagFgColor": "#fefefe",
"WinBorderColor": "#000000"
}