blob: 9059115966fdb7b3ca4c450ea635dc8a19cd53c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{ config, lib, pkgs, ... }:
let
cfg = config.modules.neovide;
in
{
options.modules.neovide = {
enable = lib.mkEnableOption "neovide";
wrapWithNixGL = lib.mkEnableOption "NixGL wrapper";
};
config = {
programs.neovide = lib.mkIf cfg.enable {
enable = true;
package = if cfg.wrapWithNixGL then config.lib.nixGL.wrap pkgs.neovide else pkgs.neovide;
settings = {
title-hidden = true;
box-drawing.mode = "native";
font = {
normal = ["BerkeleyMonoPatched Nerd Font"];
features = {
"BerkeleyMonoPatched Nerd Font" = ["+ss01" "+ss07" "+ss11" "-calt" "+ss09" "+ss02" "+ss14"];
};
size = 12.0;
};
};
};
};
}
|