screenshots: clipboard-only, camera glyph instead of thumbnail

This commit is contained in:
rope 2026-08-21 17:13:12 +01:00
parent c3e8691c2c
commit 6bf3c3909e
3 changed files with 43 additions and 17 deletions

View file

@ -58,7 +58,7 @@ let
}
'';
post = "nvd diff $OLD_SYSTEM /run/current-system && (command -v record-update &>/dev/null && record-update $OLD_SYSTEM /run/current-system || true); rm -f \"$HOME\"/Pictures/Screenshots/*";
post = "nvd diff $OLD_SYSTEM /run/current-system && (command -v record-update &>/dev/null && record-update $OLD_SYSTEM /run/current-system || true)";
# The server evaluates and builds for itself.
localUpdate = "bash -c 'set -o pipefail && OLD_SYSTEM=$(readlink /run/current-system) && sudo nixos-rebuild switch $@ --refresh --flake ${flake} -L${buildLog} && ${post}' --";