hydra ifd fixes #213
@@ -1,13 +1,12 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, lib, ... }:
|
||||||
# let
|
# Disable stylix in Hydra builds where allow-import-from-derivation is disabled
|
||||||
# randWallpaper = pkgs.runCommand "stylix-wallpaper" { } ''
|
# This is safe because desktop theming isn't needed for CI/CD builds
|
||||||
# numWallpapers =
|
let
|
||||||
# $((1 + $RANDOM % 10))
|
inHydraBuild = builtins.getEnv "HYDRA_ID" != "";
|
||||||
|
in
|
||||||
# in
|
|
||||||
{
|
{
|
||||||
stylix = {
|
stylix = {
|
||||||
enable = true;
|
enable = !inHydraBuild;
|
||||||
image = "${pkgs.hyprland}/share/hypr/wall2.png";
|
image = "${pkgs.hyprland}/share/hypr/wall2.png";
|
||||||
|
|
||||||
#image = "/home/alice/Pictures/Screenshots/screenshot_2024-12-04-2030.png";
|
#image = "/home/alice/Pictures/Screenshots/screenshot_2024-12-04-2030.png";
|
||||||
|
|||||||
@@ -1,13 +1,12 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, lib, ... }:
|
||||||
# let
|
# Disable stylix in Hydra builds where allow-import-from-derivation is disabled
|
||||||
# randWallpaper = pkgs.runCommand "stylix-wallpaper" { } ''
|
# This is safe because desktop theming isn't needed for CI/CD builds
|
||||||
# numWallpapers =
|
let
|
||||||
# $((1 + $RANDOM % 10))
|
inHydraBuild = builtins.getEnv "HYDRA_ID" != "";
|
||||||
|
in
|
||||||
# in
|
|
||||||
{
|
{
|
||||||
stylix = {
|
stylix = {
|
||||||
enable = true;
|
enable = !inHydraBuild;
|
||||||
image = "${pkgs.hyprland}/share/hypr/wall2.png";
|
image = "${pkgs.hyprland}/share/hypr/wall2.png";
|
||||||
|
|
||||||
#image = "/home/alice/Pictures/Screenshots/screenshot_2024-12-04-2030.png";
|
#image = "/home/alice/Pictures/Screenshots/screenshot_2024-12-04-2030.png";
|
||||||
|
|||||||
Reference in New Issue
Block a user