feat: set up 'stylix'

This commit is contained in:
2026-02-16 20:07:52 +01:00
parent a846849a80
commit 6f49f89c18
9 changed files with 414 additions and 15 deletions

40
home/modules/stylix.nix Normal file
View File

@@ -0,0 +1,40 @@
{
inputs,
pkgs,
...
}:
{
imports = [ inputs.stylix.homeModules.stylix ];
stylix = {
enable = true;
polarity = "dark";
base16Scheme = ../../stylix/zenwritten-dark.yaml;
image = pkgs.runCommand "solid-bg.png" { nativeBuildInputs = [ pkgs.imagemagick ]; } ''
magick -size 1x1 xc:#191919 $out
'';
fonts = {
monospace = {
package = pkgs.iosevka-bin.override { variant = "SS08"; };
name = "Iosevka Term SS08";
};
serif = {
package = pkgs.dejavu_fonts;
name = "DejaVu Serif";
};
sansSerif = {
package = pkgs.dejavu_fonts;
name = "DejaVu Sans";
};
};
targets = {
firefox.profileNames = [ "default" ];
gnome.enable = false;
gtk.enable = false;
kitty.enable = false;
nixvim.enable = false;
waybar.enable = false;
};
};
}