feat: set up 'stylix'

This commit is contained in:
2026-02-16 20:07:52 +01:00
parent 04f33a92ea
commit 91b0a430d2
7 changed files with 58 additions and 8 deletions

View File

@@ -1 +0,0 @@
set -g status-style bg=default

View File

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

View File

@@ -32,6 +32,10 @@
profileNames = [ "default" ];
colorTheme.enable = true;
};
librewolf = {
profileNames = [ "default" ];
colorTheme.enable = true;
};
gnome.enable = false;
gtk.enable = false;
kitty = {

View File

@@ -16,9 +16,7 @@
};
home.file = {
".config/tmux/tmux.regular.conf".source = dotsPath + "/.config/tmux/tmux.regular.conf";
".config/tmux/hooks/tmux.ssh.conf".source = dotsPath + "/.config/tmux/hooks/tmux.ssh.conf";
".config/tmux/hooks/tmux.regular.conf".source = dotsPath + "/.config/tmux/hooks/tmux.regular.conf";
};
};
}

View File

@@ -11,6 +11,7 @@ in
{
imports = [
inputs.home-manager.nixosModules.default
../stylix.nix
];
system.stateVersion = "25.05";

35
modules/stylix.nix Normal file
View File

@@ -0,0 +1,35 @@
{
config,
inputs,
pkgs,
...
}:
{
imports = [ inputs.stylix.nixosModules.stylix ];
stylix = {
enable = true;
polarity = "dark";
base16Scheme = ../stylix/zenwritten-dark.yaml;
image = config.lib.stylix.pixel "base00";
fonts = {
monospace = {
package = pkgs.iosevka-bin.override { variant = "SS08"; };
name = "Iosevka Term SS08";
};
};
autoEnable = true;
};
home-manager.sharedModules = [
{
stylix.targets = {
firefox.profileNames = [ "default" ];
librewolf.profileNames = [ "default" ];
kitty.enable = false;
waybar.enable = false;
};
}
];
}

View File

@@ -0,0 +1,18 @@
scheme: "zenwritten-dark"
author: "derived from zenbones.nvim zenwritten_dark"
base00: "191919" # background
base01: "303030" # inactive tab bg
base02: "404040" # selection bg
base03: "8E8E8E" # bright white (comments)
base04: "3D3839" # bright black
base05: "BBBBBB" # foreground
base06: "C9C9C9" # cursor
base07: "EEEEEE" # light foreground
base08: "DE6E7C" # red
base09: "B77E64" # yellow (orange)
base0A: "D68C67" # bright yellow
base0B: "819B69" # green
base0C: "66A5AD" # cyan
base0D: "6099C0" # blue
base0E: "B279A7" # magenta
base0F: "65435E" # active tab bg (brown)