Fix root owned home-manager sqlite errors

This commit is contained in:
Emmet 2024-08-09 17:49:26 -05:00
parent e1c0a0eaa5
commit 92617265ad

View file

@ -6,6 +6,9 @@
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) 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 # Install and build home-manager configuration
home-manager switch --flake $SCRIPT_DIR#user; home-manager switch --flake $SCRIPT_DIR#user;