screenshots: save to ~/Pictures/Screenshots, update wipes it
This commit is contained in:
parent
3651c7ee2c
commit
a799be3ae2
2 changed files with 3 additions and 1 deletions
|
|
@ -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)";
|
||||
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/*";
|
||||
|
||||
# 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}' --";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue