Files
nix-dotfiles/systems/selinunte/stylix.nix
ahuston-0 3442744803
Some checks failed
Check flake.lock / Check health of `flake.lock` (pull_request) Successful in 8s
Check Nix flake / Perform Nix flake checks (pull_request) Has been cancelled
hydra ifd fixes
2026-04-13 23:19:29 -04:00

16 lines
434 B
Nix

{ pkgs, lib, ... }:
# Disable stylix in Hydra builds where allow-import-from-derivation is disabled
# This is safe because desktop theming isn't needed for CI/CD builds
let
inHydraBuild = builtins.getEnv "HYDRA_ID" != "";
in
{
stylix = {
enable = !inHydraBuild;
image = "${pkgs.hyprland}/share/hypr/wall2.png";
#image = "/home/alice/Pictures/Screenshots/screenshot_2024-12-04-2030.png";
polarity = "dark";
};
}