yep, more dotfiles
1{ self
2, config
3, lib
4, pkgs
5, ...
6}:
7
8let
9 inherit (self.inputs) stylix;
10
11 cfg = config.local.fragment.stylix;
12in
13{
14 imports = [ stylix.homeModules.stylix ];
15
16 options.local.fragment.stylix.enable = lib.mkEnableOption ''
17 Stylix related
18 '';
19
20 config = lib.mkIf cfg.enable {
21 # TODO: take a lot of build time
22 # specialisation.light.configuration = {
23 # stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/one-light.yaml";
24 # };
25
26 stylix = {
27 enable = true;
28 base16Scheme = lib.mkDefault "${pkgs.base16-schemes}/share/themes/onedark-dark.yaml";
29
30 image = ../../assets/wallpaper-binary-cloud.png;
31
32 fonts = {
33 sansSerif = { package = pkgs.inter; name = "Inter"; };
34 serif = { package = pkgs.merriweather; name = "Merriweather"; };
35 monospace = { package = pkgs.nerd-fonts.jetbrains-mono; name = "JetBrainsMono Nerd Font"; };
36
37 sizes = {
38 applications = 12;
39 terminal = 10;
40
41 desktop = 12;
42 popups = 14;
43 };
44 };
45
46 opacity = {
47 popups = 0.8;
48 };
49
50 cursor = {
51 name = "Bibata-Modern-Ice";
52 package = pkgs.bibata-cursors;
53 size = 24;
54 };
55
56 icons = {
57 enable = true;
58 package = pkgs.papirus-icon-theme;
59 light = "Papirus-Light";
60 dark = "Papirus-Dark";
61 };
62 };
63 };
64}