-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstylix.nix
113 lines (99 loc) · 2 KB
/
stylix.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
inputs,
pkgs,
...
}: let
theme = "${pkgs.base16-schemes}/share/themes/nord.yaml";
commonConfig = {
enable = true;
autoEnable = true;
# colors
base16Scheme = theme;
override = {
base00 = "000000";
base01 = "16213c";
base02 = "374057";
base03 = "585f72";
base04 = "9a9da8";
base05 = "bbbcc3";
base06 = "dcdbde";
base07 = "fdfaf9";
};
polarity = "dark";
# background
image = ./rainbow_bridge.png;
# cursor
cursor = {
package = pkgs.bibata-cursors;
name = "Bibata-Modern-Classic";
size = 24;
};
# fonts
fonts = {
serif = {
package = pkgs.noto-fonts;
name = "Noto Serif";
};
sansSerif = {
package = pkgs.inter;
name = "Inter";
};
monospace = {
package = pkgs.iosevka-muse.normal;
name = "Iosevka Muse";
};
emoji = {
package = pkgs.noto-fonts-emoji;
name = "Noto Color Emoji";
};
};
# transparency
opacity = {
applications = 0.75;
desktop = 0.75;
popups = 0.5;
terminal = 0.75;
};
# nixvim
targets = {
console.enable = true;
nixvim = {
enable = true;
transparentBackground = {
main = true;
signColumn = true;
};
};
};
};
in {
imports = [inputs.stylix.nixosModules.stylix];
stylix =
commonConfig
// {
# individual targets
targets = {
plymouth.enable = false;
grub = {
enable = true;
useImage = true;
};
};
};
home-manager.users.muni = {
services.hyprpaper.enable = false;
stylix =
commonConfig
// {
targets = {
dunst.enable = false;
hyprland.enable = false;
hyprpaper.enable = false;
# kitty.enable = false;
neovim.enable = false;
rofi.enable = false;
swaylock.enable = false;
};
};
};
}