Anthony Rodriguez
2ac966be49
Initially, I was using a weird combination of options in order to apply my theme dynamically. I was setting a read-only option from inside my modules, which was then used in every application that required it. What I ended up doing is refactoring everything in order to be inside of my theme module, and automatically configured when enabled, without doing any mkMerge/mkIf shenanigans in my other pieces of configuration. This is healthier, although it should be split up as the theme/default.nix got quite big.
20 lines
300 B
Nix
20 lines
300 B
Nix
{
|
|
inputs,
|
|
osConfig,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
programs.fuzzel = {
|
|
enable = true;
|
|
settings = {
|
|
main = {
|
|
terminal = lib.getExe pkgs.foot;
|
|
use-bold = true;
|
|
dpi-aware = "auto";
|
|
font = "monospace:size=14";
|
|
};
|
|
border.width = 5;
|
|
};
|
|
};
|
|
}
|