mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-03 07:31:03 +01:00
50 lines
1.1 KiB
Nix
50 lines
1.1 KiB
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;
|
|
tiny = import ./themes/tiny.nix;
|
|
};
|
|
};
|
|
|
|
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}
|
|
|
|
assertFileExists home-files/.config/vivid/themes/tiny.yml
|
|
assertFileContent home-files/.config/vivid/themes/tiny.yml \
|
|
${./themes/tiny.yml}
|
|
'';
|
|
}
|