From 3f0297f1d84c953968d1fb2e0fb3a2fc6eaf7be7 Mon Sep 17 00:00:00 2001 From: iFargle Date: Wed, 13 Dec 2023 15:44:57 +0900 Subject: [PATCH] Fix hm permissions --- docs/setup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/setup.sh b/docs/setup.sh index ffd0762d..da311901 100755 --- a/docs/setup.sh +++ b/docs/setup.sh @@ -4,6 +4,7 @@ pushd /etc/nixos/git # Home-Manager Setup echo ">>> Setting up Home Manager..... " sudo mkdir /nix/var/nix/profiles/per-user/albert +sudo chown -R albert:root /nix/var/nix/profiles/per-user/albert home-manager switch -b backup --flake /etc/nixos/git source ~/.bashrc