From 92617265adeb6c82800fcdf842c668033574c935 Mon Sep 17 00:00:00 2001 From: Emmet Date: Fri, 9 Aug 2024 17:49:26 -0500 Subject: [PATCH] Fix root owned home-manager sqlite errors --- sync-user.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sync-user.sh b/sync-user.sh index 83c71d3a..803e8c51 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;