diff --git a/common.nix b/common.nix index c544812..2608eb7 100644 --- a/common.nix +++ b/common.nix @@ -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}' --"; diff --git a/settings/hyprland.nix b/settings/hyprland.nix index 3f97f50..56ec659 100644 --- a/settings/hyprland.nix +++ b/settings/hyprland.nix @@ -257,6 +257,8 @@ in hl.env("QT_QPA_PLATFORM", "wayland;xcb") hl.env("SDL_VIDEODRIVER", "wayland") hl.env("_JAVA_AWT_WM_NONREPARENTING", "1") + -- hyprshot save dir; it mkdir -p's this itself. `update` wipes it. + hl.env("HYPRSHOT_DIR", "/home/fred/Pictures/Screenshots") ${lib.optionalString isGaming '' -- GPU pinning — Navi 22 is card1 on the dual-GPU gaming box. hl.env("AQ_DRM_DEVICES", "/dev/dri/card1")