From 2cd888e1cf8388a943f7be10371fd3b454793b53 Mon Sep 17 00:00:00 2001 From: imbytecat Date: Mon, 13 Apr 2026 22:45:36 +0800 Subject: [PATCH] refactor: use idiomatic home-manager options for git user and mise activation --- home/dev/git.nix | 6 ++---- home/shell/fish.nix | 3 --- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/home/dev/git.nix b/home/dev/git.nix index 948e3b7..48c6e31 100644 --- a/home/dev/git.nix +++ b/home/dev/git.nix @@ -3,12 +3,10 @@ { programs.git = { enable = true; + userName = "imbytecat"; + userEmail = "imbytecat@gmail.com"; signing.format = null; settings = { - user = { - name = "imbytecat"; - email = "imbytecat@gmail.com"; - }; merge.conflictstyle = "zdiff3"; pull.rebase = true; push.autoSetupRemote = true; diff --git a/home/shell/fish.nix b/home/shell/fish.nix index 8836199..bd42982 100644 --- a/home/shell/fish.nix +++ b/home/shell/fish.nix @@ -42,9 +42,6 @@ in # PATH fish_add_path $HOME/go/bin $HOME/.bun/bin - # mise - mise activate fish | source - # Sudo: double Escape to prepend sudo bind \e\e 'fish_commandline_prepend sudo'