aboutsummaryrefslogtreecommitdiffstats
path: root/modules/home
diff options
context:
space:
mode:
authorSimen A. W. Olsen <hello@simenandre.no>2026-03-21 19:32:34 +0100
committerSimen A. W. Olsen <hello@simenandre.no>2026-03-21 19:32:34 +0100
commit5723054b6f3f039ae59cab7e894d69e8a875ae31 (patch)
tree287a32d25c93ef369e8ecf0093d6ffa0606d8a89 /modules/home
parent10c2ebcd20395d7b297fa9c5f6d07f0c77eeac9c (diff)
downloaddotfiles-5723054b6f3f039ae59cab7e894d69e8a875ae31.tar.gz
dotfiles-5723054b6f3f039ae59cab7e894d69e8a875ae31.zip
fix(git): make SSH URL rewrite Darwin-specific
Diffstat (limited to 'modules/home')
-rw-r--r--modules/home/git.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/home/git.nix b/modules/home/git.nix
index 3865e25..d9710e6 100644
--- a/modules/home/git.nix
+++ b/modules/home/git.nix
@@ -48,7 +48,9 @@
else "/opt/1Password/op-ssh-sign";
github.user = "simenandre";
pull.rebase = true;
+ } // (if pkgs.stdenv.isDarwin then {
"url \"ssh://git@github.com/\"".insteadOf = "https://github.com/";
+ } else {}) // {
commit.gpgsign = true;
};
};