2024-01-15 19:26:44 +01:00
{ pkgs , config , lib , . . . }:
let
basetheme = " s o l a r i z e d " ;
in
{
config = {
# Setting a custom base16 theme via nixvim is required so feline works, and
# because stylix makes a config that otherwise only works with dark
# polarity.
programs . nixvim . colorschemes . base16 . colorscheme = " ${ basetheme } - ${ config . frogeye . polarity } " ;
stylix = {
base16Scheme = " ${ pkgs . base16-schemes } / s h a r e / t h e m e s / ${ basetheme } - ${ config . frogeye . polarity } . y a m l " ;
2024-01-27 00:23:38 +01:00
polarity = config . frogeye . polarity ;
2024-01-15 19:26:44 +01:00
fonts = {
monospace = {
package = pkgs . nerdfonts . override {
fonts = [ " D e j a V u S a n s M o n o " ] ; # Choose from https://github.com/NixOS/nixpkgs/blob/6ba3207643fd27ffa25a172911e3d6825814d155/pkgs/data/fonts/nerdfonts/shas.nix
} ;
name = " D e j a V u S a n s M N e r d F o n t " ;
} ;
} ;
} ;
} ;
}