feat: set up 'stylix'

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

View File

@@ -1,24 +1,14 @@
{ lib, ... }:
{
programs.fuzzel = {
enable = true;
settings = {
main = {
font = "Iosevka Term SS08";
font = lib.mkForce "Iosevka Term SS08";
horizontal-pad = 0;
vertical-pad = 0;
};
colors = {
background = "ccccccff";
text = "111111ff";
prompt = "ccccccff";
placeholder = "aaaaaaff";
input = "111111ff";
selection = "eeeeeeff";
selection-text = "111111ff";
selection-match = "333333ff";
counter = "111111ff";
border = "111111ff";
};
border = {
width = 2;
radius = 0;

View File

@@ -1,5 +1,11 @@
{ lib, ... }:
{
services.mako = {
enable = true;
settings = {
border-color = lib.mkForce "#bbbbbb";
font = lib.mkForce "Iosevka Term SS08 10";
};
};
}

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;
};
};
}