blob: e04c9d933d2a2db69dd85ebcd4abcdc39d4ef266 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{
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 = [ "monospace" ];
features = {
"monospace" = [
"+ss01"
"+ss07"
"+ss11"
"-calt"
"+ss09"
"+ss02"
"+ss14"
];
};
size = 12.0;
};
};
};
};
}
|