chore: Improve formatting

No need to write stylix so many times.
This commit is contained in:
Donovan Glover 2024-04-01 05:50:42 -04:00
parent bc44af4825
commit 12464e8b65
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -6,22 +6,23 @@ let
font-size = 11; font-size = 11;
in in
{ {
stylix.image = ../assets/wallpaper.png; stylix = {
stylix.polarity = "dark"; image = ../assets/wallpaper.png;
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/${theme}.yaml"; polarity = "dark";
base16Scheme = "${pkgs.base16-schemes}/share/themes/${theme}.yaml";
stylix.opacity = { opacity = {
terminal = opacity; terminal = opacity;
popups = opacity; popups = opacity;
}; };
stylix.cursor = with pkgs; { cursor = with pkgs; {
package = phinger-cursors; package = phinger-cursors;
name = "phinger-cursors"; name = "phinger-cursors";
size = 24; size = 24;
}; };
stylix.fonts = with pkgs; { fonts = with pkgs; {
serif = { serif = {
package = (callPackage ../packages/aleo-fonts.nix { }); package = (callPackage ../packages/aleo-fonts.nix { });
name = "Aleo"; name = "Aleo";
@ -49,4 +50,5 @@ in
terminal = font-size; terminal = font-size;
}; };
}; };
};
} }