aboutsummaryrefslogtreecommitdiffstats
path: root/modules/home
diff options
context:
space:
mode:
Diffstat (limited to 'modules/home')
-rw-r--r--modules/home/default.nix1
-rw-r--r--modules/home/git.nix2
-rw-r--r--modules/home/zsh.nix5
3 files changed, 5 insertions, 3 deletions
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