1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 19:49:45 +01:00
home-manager/tests/modules/programs/neovide/neovide.nix
NitroSniper 7923c69152
neovide: add module
Neovide is a simple, no-nonsense, cross-platform graphical user
interface for Neovim See <https://neovide.dev/>.

Used ruff's module as reference during creation.
2024-09-13 11:50:57 +02:00

34 lines
625 B
Nix

{ ... }:
{
programs.neovide = {
enable = true;
settings = {
fork = false;
frame = "full";
idle = true;
maximized = false;
neovim-bin = "/usr/bin/nvim";
no-multigrid = false;
srgb = false;
tabs = true;
theme = "auto";
title-hidden = true;
vsync = true;
wsl = false;
font = {
normal = [ ];
size = 14.0;
};
};
};
test.stubs.neovide = { };
nmt.script = ''
assertFileExists home-files/.config/neovide/config.toml
assertFileContent home-files/.config/neovide/config.toml ${./expected.toml}
'';
}