hydra ifd fixes #213

Merged
ahuston-0 merged 4 commits from feature/mattermost into main 2026-04-13 23:54:48 -04:00
2 changed files with 14 additions and 16 deletions
Showing only changes of commit 3442744803 - Show all commits

View File

@@ -1,13 +1,12 @@
{ pkgs, ... }:
# let
# randWallpaper = pkgs.runCommand "stylix-wallpaper" { } ''
# numWallpapers =
# $((1 + $RANDOM % 10))
# in
{ 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 = true;
enable = !inHydraBuild;
image = "${pkgs.hyprland}/share/hypr/wall2.png";
#image = "/home/alice/Pictures/Screenshots/screenshot_2024-12-04-2030.png";

View File

@@ -1,13 +1,12 @@
{ pkgs, ... }:
# let
# randWallpaper = pkgs.runCommand "stylix-wallpaper" { } ''
# numWallpapers =
# $((1 + $RANDOM % 10))
# in
{ 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 = true;
enable = !inHydraBuild;
image = "${pkgs.hyprland}/share/hypr/wall2.png";
#image = "/home/alice/Pictures/Screenshots/screenshot_2024-12-04-2030.png";