Things
- `wireguard` for `hs` - gnome keyring for VSCode to make Copilot work - uninstalled local `Hydra` on `pc` - VSCode -> VSCodeFHS - Emacs - typescript - solidity - envrc mode
This commit is contained in:
parent
3668e2d3d0
commit
816bd8fe6f
132 changed files with 1410 additions and 3682 deletions
33
hmModules/git/default.nix
Normal file
33
hmModules/git/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{pkgs, ...}: let
|
||||
config = {
|
||||
name = "Andrea Ciceri";
|
||||
email = "andrea.ciceri@autistici.org";
|
||||
};
|
||||
in {
|
||||
programs.git = {
|
||||
enable = true;
|
||||
package = pkgs.gitAndTools.gitFull;
|
||||
|
||||
extraConfig = {
|
||||
ui.color = true;
|
||||
pull.rebase = false;
|
||||
rebase.autostash = true;
|
||||
};
|
||||
|
||||
userName = config.name;
|
||||
userEmail = config.email;
|
||||
signing = {
|
||||
signByDefault = true;
|
||||
key = config.email;
|
||||
};
|
||||
|
||||
extraConfig = {
|
||||
url =
|
||||
if pkgs.stdenv.hostPlatform.isDarwin
|
||||
then {}
|
||||
else {
|
||||
"ssh://git@github.com/" = {insteadOf = https://github.com/;};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue