stylix: phase 1 — add input and target waybar/fuzzel/mako/hyprlock/hyprland
Adds nix-community/stylix on its release-25.11 branch (master references options that don't exist in 25.11's nixpkgs). autoEnable=false so matugen keeps owning every app it currently themes; we only opt in to the five targets matugen doesn't cover. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
56e6041670
commit
cc4216117a
4 changed files with 358 additions and 0 deletions
40
settings/stylix.nix
Normal file
40
settings/stylix.nix
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
{ config, pkgs, lib, inputs, ... }:
|
||||
{
|
||||
imports = [ inputs.stylix.nixosModules.stylix ];
|
||||
|
||||
config = lib.mkIf (lib.elem config.networking.hostName [ "FredOS-Gaming" "FredOS-Macbook" ]) {
|
||||
stylix = {
|
||||
enable = true;
|
||||
image = "${inputs.self}/walls/wallpaper.png";
|
||||
polarity = "dark";
|
||||
|
||||
# Phase 1: opt in to specific targets only. Apps currently handled by
|
||||
# matugen (gtk, ghostty, zen, btop, vscodium, vesktop) keep their
|
||||
# matugen-derived colors — autoEnable would clobber them.
|
||||
autoEnable = false;
|
||||
|
||||
cursor = {
|
||||
package = pkgs.adwaita-icon-theme;
|
||||
name = "Adwaita";
|
||||
size = 24;
|
||||
};
|
||||
|
||||
fonts.monospace = {
|
||||
package = pkgs.nerd-fonts.fira-mono;
|
||||
name = "FiraMono Nerd Font";
|
||||
};
|
||||
};
|
||||
|
||||
home-manager.users.fred = {
|
||||
imports = [ inputs.stylix.homeModules.stylix ];
|
||||
|
||||
stylix.targets = {
|
||||
waybar.enable = true;
|
||||
fuzzel.enable = true;
|
||||
mako.enable = true;
|
||||
hyprlock.enable = true;
|
||||
hyprland.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue