1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

feat(stylix): use a different theme each update

This commit is contained in:
2023-07-26 10:39:38 +02:00
parent dbeb0acc11
commit 31469cef9d

View File

@@ -1,12 +1,33 @@
{ {
pkgs, pkgs,
lib,
inputs, inputs,
... ...
}: { }: {
# https://danth.github.io/stylix/tricks.html # https://danth.github.io/stylix/tricks.html
stylix.image = inputs.wallpapers.outPath + "/vaporwave/1432599578099.png"; stylix.image = inputs.wallpapers.outPath + "/vaporwave/1432599578099.png";
# stylix.polarity = "either"; # stylix.polarity = "either";
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/synth-midnight-dark.yaml"; stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/${
{
"0" = "synth-midnight-dark";
"1" = "apprentice"; # https://romainl.github.io/Apprentice/
"2" = "one-light";
"3" = "one-dark";
"4" = "material"; # https://github.com/ntpeters/base16-materialtheme-scheme
"5" = "material-palenight";
"6" = "material-lighter";
"7" = "tomorrow"; # https://github.com/chriskempson/tomorrow-theme
"8" = "tomorrow-night";
"9" = "gruvbox-light-medium"; # https://github.com/dawikur/base16-gruvbox-scheme
"a" = "gruvbox-dark-medium";
"b" = "selenized-light"; # https://github.com/jan-warchol/selenized
"c" = "selenized-dark";
"d" = "papercolor-light";
"e" = "papercolor-dark";
"f" = "dracula"; # https://draculatheme.com/
}
.${builtins.head (lib.stringToCharacters inputs.nixpkgs.rev)}
}.yaml";
stylix.fonts = { stylix.fonts = {
serif = { serif = {