1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00
home-manager/tests/modules/programs/vivid/example-config.nix
2025-09-03 21:50:05 -05:00

45 lines
974 B
Nix

{
programs.vivid = {
enable = true;
colorMode = "8-bit";
filetypes = {
text = {
special = [
"CHANGELOG.md"
"CODE_OF_CONDUCT.md"
"CONTRIBUTING.md"
];
todo = [
"TODO.md"
"TODO.txt"
];
licenses = [
"LICENCE"
"COPYRIGHT"
];
};
};
activeTheme = "mocha";
themes = {
ayu = ./themes/ayu.yml;
mocha = ./themes/mocha.yml;
};
};
nmt.script = ''
assertFileExists home-files/.config/vivid/filetypes.yml
assertFileContent home-files/.config/vivid/filetypes.yml \
${./filetypes.yml}
assertFileExists home-files/.config/vivid/themes/ayu.yml
assertFileContent home-files/.config/vivid/themes/ayu.yml \
${./themes/ayu.yml}
assertFileExists home-files/.config/vivid/themes/mocha.yml
assertFileContent home-files/.config/vivid/themes/mocha.yml \
${./themes/mocha.yml}
'';
}