Files
nix-dotfiles/systems/artemision/stylix.nix

16 lines
434 B
Nix
Raw Normal View History

2026-04-13 23:19:01 -04:00
{ 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
2024-08-09 11:11:04 -04:00
{
stylix = {
2026-04-13 23:19:01 -04:00
enable = !inHydraBuild;
image = "${pkgs.hyprland}/share/hypr/wall2.png";
2025-03-03 17:32:47 -05:00
#image = "/home/alice/Pictures/Screenshots/screenshot_2024-12-04-2030.png";
2024-08-09 11:11:04 -04:00
polarity = "dark";
};
}