From 02199651753b752498a6d4a2b5e5b03b0b974aa3 Mon Sep 17 00:00:00 2001 From: albert Date: Mon, 19 Feb 2024 22:43:06 +0900 Subject: [PATCH] Update install script --- docs/setup.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/setup.sh b/docs/setup.sh index 05cb0309..e951a859 100755 --- a/docs/setup.sh +++ b/docs/setup.sh @@ -4,6 +4,10 @@ pushd /etc/nixos/git # Home-Manager Setup echo ">>> Setting up Home Manager..... " sudo mkdir /nix/var/nix/profiles/per-user/albert + +# For some reason the syncthing folder takes this over and makes it owned by root +sudo mkdir /home/albert/.config +sudo chown albert:albert /home/albert/.config sudo chown -R albert:root /nix/var/nix/profiles/per-user/albert home-manager switch -b backup --flake /etc/nixos/git source ~/.bashrc