diff --git a/home.nix b/home.nix index e1e6b5d..dd043ab 100644 --- a/home.nix +++ b/home.nix @@ -19,7 +19,7 @@ in extraConfig.credential.helper = "store --file ~/.git-credentials"; userName = "${userSettings.gitUserName}"; userEmail = "${userSettings.gitUserEmail}"; - extraConfig.safe.directory = "${homePath}"; + extraConfig.safe.directory = "${repoPath}"; }; programs.bash.enable = true; @@ -33,11 +33,12 @@ in (writeShellScriptBin "nfs" '' sudo nixos-rebuild switch --flake ${repoPath}#${systemSettings.hostName} --impure '') + (writeShellScriptBin "nhs" '' + home-manager switch --flake ${repoPath}#${userSettings.username} + '') (writeShellScriptBin "init-panoptes" '' sudo -u ${userSettings.username} git clone -b ${repoBranch} ${repoURL} ${repoPath} '') - git - python313 ]; };