diff --git a/dotfiles/gitconfig b/dotfiles/gitconfig index 5495b292..e623a49b 100644 --- a/dotfiles/gitconfig +++ b/dotfiles/gitconfig @@ -98,3 +98,6 @@ [user] email = IvanMalison@gmail.com name = Ivan Malison + +[init] + defaultBranch = master diff --git a/nixos/home-manager.nix b/nixos/home-manager.nix index 54288744..de480f00 100644 --- a/nixos/home-manager.nix +++ b/nixos/home-manager.nix @@ -73,15 +73,15 @@ enable = true; repositories = { config = { - path = "/home/imalison/config"; + path = config.home.homeDirectory + "/config"; uri = "git@github.com:IvanMalison/config.git"; }; org = { - path = "/home/imalison/org"; + path = config.home.homeDirectory + "/org"; uri = "git@github.com:IvanMalison/org.git"; }; password-store = { - path = "/home/imalison/.password-store"; + path = config.home.homeDirectory + "/.password-store"; uri = "git@github.com:IvanMalison/.password-store.git"; }; };