37 lines
720 B
Nix
37 lines
720 B
Nix
{
|
|
config,
|
|
unstable,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}:
|
|
let
|
|
cfg = config.profile.neovide;
|
|
in
|
|
{
|
|
config = lib.mkIf cfg.enable {
|
|
home.packages = [ unstable.neovide ];
|
|
|
|
home.file.".config/neovide/config.toml".source =
|
|
let
|
|
toml = pkgs.formats.toml { };
|
|
in
|
|
toml.generate "config.toml" {
|
|
font = {
|
|
normal = [ "JetBrainsMono Nerd Font" ];
|
|
size = 11.0;
|
|
};
|
|
fork = false;
|
|
frame = if config.profile.hyprland.enable then "none" else "full";
|
|
idle = true;
|
|
maximied = false;
|
|
no-multigrid = false;
|
|
tabs = false;
|
|
theme = "auto";
|
|
title-hidden = true;
|
|
vsync = true;
|
|
wsl = false;
|
|
};
|
|
};
|
|
}
|