From 17ea72e2ed27842c7d8ba91fb10d2b26d01f127f Mon Sep 17 00:00:00 2001 From: ediblerope Date: Wed, 29 Apr 2026 20:17:01 +0100 Subject: [PATCH] common: drop --source-color-index from matugen update alias The flag was removed in matugen 3.x; the call now exits with an arg parse error on every update (caught by '|| true' but noisy). matugen picks a sensible source color by default, so we just drop the flag. Co-Authored-By: Claude Opus 4.7 --- common.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.nix b/common.nix index 94a1e7f..4eaade9 100644 --- a/common.nix +++ b/common.nix @@ -104,7 +104,7 @@ # Shell aliases (work in both bash and fish) environment.shellAliases = { - update = "bash -c 'OLD_SYSTEM=$(readlink /run/current-system) && sudo nixos-rebuild build $@ --impure --flake github:ediblerope/nixos-config && sudo nixos-rebuild switch $@ --impure --flake github:ediblerope/nixos-config && nvd diff $OLD_SYSTEM /run/current-system && (command -v record-update &>/dev/null && record-update $OLD_SYSTEM /run/current-system || true) && command -v matugen &>/dev/null && matugen image ~/.local/share/backgrounds/wallpaper.png --source-color-index 0 -m dark || true' --"; + update = "bash -c 'OLD_SYSTEM=$(readlink /run/current-system) && sudo nixos-rebuild build $@ --impure --flake github:ediblerope/nixos-config && sudo nixos-rebuild switch $@ --impure --flake github:ediblerope/nixos-config && nvd diff $OLD_SYSTEM /run/current-system && (command -v record-update &>/dev/null && record-update $OLD_SYSTEM /run/current-system || true) && command -v matugen &>/dev/null && matugen image ~/.local/share/backgrounds/wallpaper.png -m dark || true' --"; clean = "sudo nix-collect-garbage -d"; ll = "ls -alh"; clear = "command clear";