Migrate git configuration
This commit is contained in:
@@ -17,14 +17,11 @@
|
||||
home.packages = [
|
||||
# pkgs.dive
|
||||
pkgs.entr
|
||||
pkgs.lazygit
|
||||
pkgs.jq
|
||||
pkgs.just
|
||||
pkgs.rsync
|
||||
pkgs.gh
|
||||
pkgs.claude-code
|
||||
pkgs.devenv
|
||||
pkgs.jujutsu
|
||||
pkgs.dive
|
||||
];
|
||||
|
||||
@@ -39,25 +36,16 @@
|
||||
"/opt/homebrew/bin"
|
||||
];
|
||||
|
||||
programs.zsh.shellAliases = {
|
||||
lg = "lazygit";
|
||||
};
|
||||
|
||||
zsh.enable = true;
|
||||
git = {
|
||||
enable = true;
|
||||
gpgProgram = "/Applications/1Password.app/Contents/MacOS/op-ssh-sign";
|
||||
signingKey = "~/.ssh/yadunut_ed25519.pub";
|
||||
};
|
||||
|
||||
# Let Home Manager install and manage itself.
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
programs.git.extraConfig = {
|
||||
gpg.ssh.program = "/Applications/1Password.app/Contents/MacOS/op-ssh-sign";
|
||||
user.signingkey = "~/.ssh/yadunut_ed25519.pub";
|
||||
core.excludesFile = "~/.gitignore_global";
|
||||
};
|
||||
|
||||
programs.gh = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
targets.darwin = {
|
||||
defaults."com.apple.dock".autohide = true;
|
||||
defaults."com.apple.finder".AppleShowAllFiles = true;
|
||||
|
||||
Reference in New Issue
Block a user