diff --git a/sync-user.sh b/sync-user.sh index 83c71d3..803e8c5 100755 --- a/sync-user.sh +++ b/sync-user.sh @@ -6,6 +6,9 @@ SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) +# Fix root-owned sqlite errors +sudo chown -R 1000:users ~/.cache/nix; + # Install and build home-manager configuration home-manager switch --flake $SCRIPT_DIR#user;