2026-05-11 13:32:18 +01:00
|
|
|
{ config, pkgs, lib, inputs, ... }:
|
|
|
|
|
{
|
2026-05-30 11:11:33 +01:00
|
|
|
# Imported for all hosts via flake.nix.
|
2026-05-11 13:32:18 +01:00
|
|
|
|
2026-05-18 10:44:16 +01:00
|
|
|
config = {
|
2026-05-11 13:32:18 +01:00
|
|
|
stylix = {
|
|
|
|
|
enable = true;
|
2026-05-14 14:58:13 +01:00
|
|
|
# builtins.path hashes only the image content, not the whole flake tree,
|
|
|
|
|
# so palette.json is only rebuilt when the wallpaper itself changes.
|
|
|
|
|
image = builtins.path {
|
|
|
|
|
name = "wallpaper.png";
|
|
|
|
|
path = inputs.self + "/walls/wallpaper.png";
|
|
|
|
|
};
|
2026-05-11 13:32:18 +01:00
|
|
|
polarity = "dark";
|
|
|
|
|
|
2026-05-11 19:44:07 +01:00
|
|
|
# Let stylix theme every target it supports. Per-target opt-outs go
|
|
|
|
|
# under home-manager.users.fred.stylix.targets.<x>.enable = false.
|
|
|
|
|
autoEnable = true;
|
2026-05-11 13:32:18 +01:00
|
|
|
|
|
|
|
|
cursor = {
|
2026-05-12 11:48:28 +01:00
|
|
|
package = pkgs.bibata-cursors;
|
|
|
|
|
name = "Bibata-Modern-Ice";
|
2026-05-11 13:32:18 +01:00
|
|
|
size = 24;
|
|
|
|
|
};
|
|
|
|
|
|
2026-07-29 21:46:13 +01:00
|
|
|
# caelestia's font set: Rubik for UI text, CaskaydiaCove NF for mono
|
|
|
|
|
# (still a nerd font, so terminal glyphs survive the swap).
|
2026-05-11 13:44:50 +01:00
|
|
|
fonts = {
|
|
|
|
|
monospace = {
|
2026-07-29 21:46:13 +01:00
|
|
|
package = pkgs.nerd-fonts.caskaydia-cove;
|
|
|
|
|
name = "CaskaydiaCove NF";
|
2026-05-11 13:44:50 +01:00
|
|
|
};
|
|
|
|
|
sansSerif = {
|
2026-07-29 21:46:13 +01:00
|
|
|
package = pkgs.rubik;
|
|
|
|
|
name = "Rubik";
|
2026-05-11 13:44:50 +01:00
|
|
|
};
|
|
|
|
|
serif = {
|
2026-07-29 21:46:13 +01:00
|
|
|
package = pkgs.rubik;
|
|
|
|
|
name = "Rubik";
|
2026-05-11 13:44:50 +01:00
|
|
|
};
|
2026-05-11 13:32:18 +01:00
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2026-05-15 22:11:57 +01:00
|
|
|
|
2026-08-19 14:31:24 +01:00
|
|
|
# Per-app theming that has to follow the RUNTIME wallpaper (GTK, ghostty,
|
|
|
|
|
# btop, zen, vesktop, folder icons) lives in settings/theming.nix: it
|
|
|
|
|
# renders one set of config files per wallpaper in walls/ and swaps them
|
|
|
|
|
# in without a rebuild. Everything above is build-time and stays here.
|
2026-05-11 13:32:18 +01:00
|
|
|
};
|
|
|
|
|
}
|