diff --git a/pkgs/default.nix b/pkgs/default.nix index 763ae4b..a295635 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -7,11 +7,10 @@ _inputs: [ zsh-histdb-skim = prev.callPackage ./zsh-skim-histdb.nix { }; neovim-clean = prev.neovim-unwrapped.overrideAttrs (old: { nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ prev.makeWrapper ]; - postInstall = - (old.postInstall or "") - + '' - wrapProgram $out/bin/nvim --add-flags "--clean" - ''; + postInstall = '' + ${old.postInstall or ""} + wrapProgram $out/bin/nvim --add-flags "--clean" + ''; }); #pythonPackagesExtensions = # prev.pythonPackagesExtensions diff --git a/users/myuser/git.nix b/users/myuser/git.nix index 5faffc8..f279cda 100644 --- a/users/myuser/git.nix +++ b/users/myuser/git.nix @@ -46,6 +46,7 @@ mergetool.prompt = true; commit.gpgsign = true; pull.rebase = true; + rebase.autostash = true; push.autoSetupRemote = true; }; aliases = {