- Created common.nix for various configs - Created theme.nix for theme related configs - Moved some code to more logical files - Moved some standalone files into nix multiline strings, in order to inject data
20 lines
482 B
Nix
20 lines
482 B
Nix
{ pkgs, ... }:
|
|
let
|
|
theme = import ../theme.nix;
|
|
in
|
|
{
|
|
stylix = {
|
|
enable = true;
|
|
image = ../catppuccin.png;
|
|
base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-${theme.flavor}.yaml";
|
|
polarity = "dark";
|
|
opacity.terminal = 0.8;
|
|
# Override some colours because of bad contrast
|
|
override = {
|
|
base02 = "b0b0b0"; # Comments in shell
|
|
base03 = "b0b0b0"; # Comments in nvim
|
|
base04 = "b0b0b0"; # Secondary text in shell
|
|
};
|
|
};
|
|
}
|