From 3c7ea11324ca5539bfabace350993719e9e205b3 Mon Sep 17 00:00:00 2001 From: "Simen A. W. Olsen" Date: Sat, 15 Aug 2026 00:03:49 +0200 Subject: chore: migrate repository to simenandre.no --- modules/home/default.nix | 1 + modules/home/git.nix | 2 ++ modules/home/zsh.nix | 5 ++--- 3 files changed, 5 insertions(+), 3 deletions(-) (limited to 'modules/home') diff --git a/modules/home/default.nix b/modules/home/default.nix index 495a962..7f3e820 100644 --- a/modules/home/default.nix +++ b/modules/home/default.nix @@ -26,6 +26,7 @@ claude-code dina.packages.${pkgs.stdenv.hostPlatform.system}.default delta + forgejo-cli fzf gh ghq diff --git a/modules/home/git.nix b/modules/home/git.nix index bfd0b40..20cb197 100644 --- a/modules/home/git.nix +++ b/modules/home/git.nix @@ -51,6 +51,8 @@ "gpg \"ssh\"".program = "/Applications/1Password.app/Contents/MacOS/op-ssh-sign"; "url \"ssh://git@github.com/\"".insteadOf = "https://github.com/"; "url \"ssh://git@codeberg.org/\"".insteadOf = "https://codeberg.org/"; + # scp-style, not ssh://: the server rejects the absolute-path form + "url \"git@simenandre.no:\"".insteadOf = "https://simenandre.no/"; commit.gpgsign = true; } else {}); }; diff --git a/modules/home/zsh.nix b/modules/home/zsh.nix index a3b35cd..ab6489d 100644 --- a/modules/home/zsh.nix +++ b/modules/home/zsh.nix @@ -114,8 +114,8 @@ in alias ls='ls --color' '' + (if pkgs.stdenv.isDarwin then '' alias tailscale='/Applications/Tailscale.app/Contents/MacOS/Tailscale' - alias rebuild='sudo darwin-rebuild switch --flake ~/ghq/github.com/simenandre/dotfiles#default' - alias update='nix flake update --flake ~/ghq/github.com/simenandre/dotfiles && sudo darwin-rebuild switch --flake ~/ghq/github.com/simenandre/dotfiles#default' + alias rebuild='sudo darwin-rebuild switch --flake ~/ghq/simenandre.no/dotfiles#default' + alias update='nix flake update --flake ~/ghq/simenandre.no/dotfiles && sudo darwin-rebuild switch --flake ~/ghq/simenandre.no/dotfiles#default' alias nix-gc='sudo nix-collect-garbage --delete-older-than 14d && nix-collect-garbage --delete-older-than 14d && nix store gc' '' else "") + '' @@ -221,7 +221,6 @@ in generate kubectl kubectl completion zsh generate helm helm completion zsh generate pulumi pulumi gen-completion zsh - generate bun bun completions zsh generate pnpm pnpm completion zsh generate deno deno completions zsh generate flyctl flyctl completion zsh -- cgit v1.2.3