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.
This commit is contained in:
NitroSniper 2024-09-12 23:37:22 +01:00 committed by Robert Helgesson
parent 4c8647b1ed
commit 7923c69152
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED
8 changed files with 121 additions and 0 deletions

View file

@ -0,0 +1 @@
{ neovide-program = ./neovide.nix; }

View file

@ -0,0 +1,15 @@
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

View file

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