mirror of
https://github.com/nix-community/home-manager.git
synced 2025-03-10 18:57:22 +00:00
Instead of having to manually stub packages that should not be downloaded we instead automatically stub all packages (except a small list of whitelisted ones). Tests can re-introduce the real package by using the `realPkgs` module argument.
30 lines
586 B
Nix
30 lines
586 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;
|
|
};
|
|
};
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/.config/neovide/config.toml
|
|
assertFileContent home-files/.config/neovide/config.toml ${./expected.toml}
|
|
'';
|
|
}
|