-
Notifications
You must be signed in to change notification settings - Fork 1
/
stylix-base.nix
51 lines (47 loc) · 1.14 KB
/
stylix-base.nix
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
42
43
44
45
46
47
48
49
50
51
# Base stylix stuff.
# Remember to import the nixos or home-manager modules for stylix!
{
lib,
pkgs,
config,
stylix-image,
...
}: {
stylix = {
enable = true;
#image = stylix-image;
image = config.lib.stylix.pixel "base00"; # Black background for OLED
#base16Scheme = "${pkgs.base16-schemes}/share/themes/tomorrow-night.yaml";
#base16Scheme = "${pkgs.base16-schemes}/share/themes/rose-pine.yaml";
base16Scheme = "${pkgs.base16-schemes}/share/themes/da-one-black.yaml";
polarity = "dark";
fonts = let
nerdfonts = pkgs.nerdfonts.override {fonts = ["JetBrainsMono" "Arimo" "Tinos"];};
in {
monospace = {
name = "JetBrainsMono Nerd Font";
package = nerdfonts;
};
sansSerif = {
name = "Arimo Nerd Font";
package = nerdfonts;
};
serif = {
name = "Tinos Nerd Font";
package = nerdfonts;
};
sizes = {
applications = 12;
desktop = 10;
popups = 10;
terminal = 13;
};
};
opacity = {
applications = 1.0;
desktop = 0.9;
popups = 1.0;
terminal = 0.95;
};
};
}