1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-10 23:00:39 +02:00

feat: enable git autostash

This commit is contained in:
oddlama 2025-03-30 19:55:19 +02:00
parent c9cf5ce5a8
commit d5bca06a56
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
2 changed files with 5 additions and 5 deletions

View file

@ -7,11 +7,10 @@ _inputs: [
zsh-histdb-skim = prev.callPackage ./zsh-skim-histdb.nix { }; zsh-histdb-skim = prev.callPackage ./zsh-skim-histdb.nix { };
neovim-clean = prev.neovim-unwrapped.overrideAttrs (old: { neovim-clean = prev.neovim-unwrapped.overrideAttrs (old: {
nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ prev.makeWrapper ]; nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ prev.makeWrapper ];
postInstall = postInstall = ''
(old.postInstall or "") ${old.postInstall or ""}
+ '' wrapProgram $out/bin/nvim --add-flags "--clean"
wrapProgram $out/bin/nvim --add-flags "--clean" '';
'';
}); });
#pythonPackagesExtensions = #pythonPackagesExtensions =
# prev.pythonPackagesExtensions # prev.pythonPackagesExtensions

View file

@ -46,6 +46,7 @@
mergetool.prompt = true; mergetool.prompt = true;
commit.gpgsign = true; commit.gpgsign = true;
pull.rebase = true; pull.rebase = true;
rebase.autostash = true;
push.autoSetupRemote = true; push.autoSetupRemote = true;
}; };
aliases = { aliases = {