37 lines
1.0 KiB
Nix
37 lines
1.0 KiB
Nix
# One Nord palette for everything stylix has a target for: gtk, qt,
|
|
# noctalia, ghostty, nixvim. niri has no target and reads the colors in
|
|
# niri.nix. Only the home-manager module is used, so boot, console and
|
|
# sddm are left alone.
|
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
|
stylix = {
|
|
enable = true;
|
|
base16Scheme = "${pkgs.base16-schemes}/share/themes/nord.yaml";
|
|
polarity = "dark";
|
|
|
|
fonts = {
|
|
monospace = {
|
|
name = "0xProto Nerd Font Mono";
|
|
package = pkgs.nerd-fonts._0xproto;
|
|
};
|
|
sizes.terminal = 12;
|
|
};
|
|
|
|
# its overlays (nixos-icons, gtksourceview) clash with useGlobalPkgs
|
|
overlays.enable = false;
|
|
|
|
targets = {
|
|
# profiles aren't managed by home-manager, declaring one here would
|
|
# take over the existing profile
|
|
firefox.enable = false;
|
|
# the bar keeps 0xProto instead of the sans-serif font
|
|
noctalia.fonts.enable = false;
|
|
# the hand-built status line in tmux.nix uses ANSI color names, which
|
|
# already follow the terminal palette
|
|
tmux.enable = false;
|
|
};
|
|
};
|
|
}
|