feat: set up 'stylix'

This commit is contained in:
2026-02-17 20:30:32 +01:00
parent 04f33a92ea
commit c75724de68
6 changed files with 47 additions and 34 deletions

View File

@@ -5,24 +5,22 @@
...
}:
let
theme = import ../../modules/stylix/theme.nix { inherit pkgs; };
in
{
imports = [ inputs.stylix.homeModules.stylix ];
stylix = {
enable = true;
polarity = "dark";
base16Scheme = ../../modules/stylix/zenwritten-dark.yaml;
override = {
base04 = "8E8E8E"; # improved contrast
};
image = pkgs.runCommand "solid-bg.png" { nativeBuildInputs = [ pkgs.imagemagick ]; } ''
magick -size 1x1 xc:#191919 $out
'';
inherit (theme)
polarity
base16Scheme
override
image
;
fonts = {
monospace = {
package = pkgs.iosevka-bin.override { variant = "SS08"; };
name = "Iosevka Term SS08";
};
monospace = theme.monospaceFont;
serif = config.stylix.fonts.monospace;
sansSerif = config.stylix.fonts.monospace;
emoji = config.stylix.fonts.monospace;
@@ -32,6 +30,10 @@
profileNames = [ "default" ];
colorTheme.enable = true;
};
librewolf = {
profileNames = [ "default" ];
colorTheme.enable = true;
};
gnome.enable = false;
gtk.enable = false;
kitty = {