fix: nix-deck infinite recursion + add custom-qmd to CI
Some checks failed
CI / check (push) Successful in 2m56s
CI / build-and-cache (push) Successful in 4m37s
CI / Build & Push OpenClaw Image (push) Failing after 11m45s
CI / Deploy OpenClaw to Cluster (push) Has been skipped

- Add specialArgs to nix-deck (was missing nixpkgs-unstable, causing
  infinite recursion when roles/local-inference evaluated it)
- Move local-inference import out of roles/default.nix: its module-level
  disabledModules/imports conflict with nix-deck's unstable-based nixpkgs
- Import local-inference directly in zix790prors (the only machine that
  enables it)
- Add custom-qmd and custom-opencode to CI build-and-cache packages
This commit is contained in:
2026-04-19 22:13:04 -07:00
parent 2036181a04
commit 9904d1c11d
5 changed files with 15 additions and 2 deletions

View File

@@ -48,6 +48,8 @@ jobs:
custom-mcrcon-rbw
custom-tea-rbw
custom-rclone-torbox-setup
custom-opencode
custom-qmd
custom-nextcloud-talk-desktop
qt-pinned-jellyfin-media-player
qt-pinned-stremio

View File

@@ -235,6 +235,7 @@
# Steam Deck configuration (using unstable for better Jovian compatibility)
nixosConfigurations.nix-deck = nixpkgs-unstable.lib.nixosSystem rec {
system = "x86_64-linux";
specialArgs = nixosSpecialArgs;
modules = nixosModulesUnstable ++ [
./machines/nix-deck/configuration.nix
{

View File

@@ -10,6 +10,7 @@ with lib;
imports = [
./hardware-configuration.nix
#./virtual-surround.nix
../../roles/local-inference
];
roles = {

View File

@@ -1,4 +1,8 @@
{ lib, pkgs, ... }:
{
lib,
pkgs,
...
}:
with lib;
@@ -11,7 +15,9 @@ with lib;
./desktop
./k3s-node
./kodi
./local-inference
# local-inference is NOT imported here because its module-level
# disabledModules/imports conflict with nix-deck's unstable-based
# nixpkgs. Import it directly in machine configs that need it.
./nfs-mounts
./plasma-bigscreen
./nvidia

View File

@@ -14,6 +14,9 @@ let
llama-server = getExe' llama-cpp-cuda "llama-server";
in
{
# Replace the stable nixpkgs llama-swap module with the unstable version,
# which may have newer features. For systems already built on unstable
# (e.g., nix-deck), this module is excluded from roles/default.nix instead.
imports = [ "${nixpkgs-unstable}/nixos/modules/services/networking/llama-swap.nix" ];
disabledModules = [ "services/networking/llama-swap.nix" ];