From d505e8c79dd99af12d4790d27838acc71e58b666 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sun, 22 Aug 2021 22:43:17 -0600 Subject: [PATCH 1/3] [NixOS] More general way of getting home directory --- nixos/home-manager.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos/home-manager.nix b/nixos/home-manager.nix index 54288744..edc05616 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 + "/org"; uri = "git@github.com:IvanMalison/.password-store.git"; }; }; From 4188a455346bb6baf4999cb329f7102f3fce725d Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sun, 22 Aug 2021 22:44:59 -0600 Subject: [PATCH 2/3] [NixOS] Fix mistake --- nixos/home-manager.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/home-manager.nix b/nixos/home-manager.nix index edc05616..de480f00 100644 --- a/nixos/home-manager.nix +++ b/nixos/home-manager.nix @@ -81,7 +81,7 @@ uri = "git@github.com:IvanMalison/org.git"; }; password-store = { - path = config.home.homeDirectory + "/org"; + path = config.home.homeDirectory + "/.password-store"; uri = "git@github.com:IvanMalison/.password-store.git"; }; }; From a1d59933b5995917f6ed512760a888c0a617ea5f Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Tue, 24 Aug 2021 00:19:18 -0600 Subject: [PATCH 3/3] [git] Set defaultBranch to master --- dotfiles/gitconfig | 3 +++ 1 file changed, 3 insertions(+) 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