I should commit more frequently
This commit is contained in:
parent
aa8003f5b4
commit
e82241b8b0
70 changed files with 1091 additions and 2018 deletions
|
@ -1,4 +1,8 @@
|
|||
{pkgs, ...}: let
|
||||
{
|
||||
pkgs,
|
||||
username,
|
||||
...
|
||||
}: let
|
||||
config = {
|
||||
name = "Andrea Ciceri";
|
||||
email = "andrea.ciceri@autistici.org";
|
||||
|
@ -15,7 +19,7 @@ in {
|
|||
rebase.autostash = true;
|
||||
github.user = "aciceri";
|
||||
|
||||
user.signingKey = "/home/ccr/.ssh/id_rsa";
|
||||
user.signingKey = "/home/${username}/.ssh/id_rsa";
|
||||
gpg.format = "ssh";
|
||||
commit.gpgsign = true;
|
||||
|
||||
|
@ -24,14 +28,10 @@ in {
|
|||
|
||||
userName = config.name;
|
||||
userEmail = config.email;
|
||||
# signing = {
|
||||
# signByDefault = true;
|
||||
# key = config.email;
|
||||
# };
|
||||
|
||||
extraConfig.url = {
|
||||
"ssh://git@github.com/".insteadOf = "https://github.com/";
|
||||
# Workaround: https://github.com/rust-lang/cargo/issues/3381#issuecomment-1193730972
|
||||
# Workaround for https://github.com/rust-lang/cargo/issues/3381#issuecomment-1193730972
|
||||
"https://github.com/rust-lang/crates.io-index".insteadOf = "https://github.com/rust-lang/crates.io-index";
|
||||
"https://github.com/RustSec/advisory-db".insteadOf = "https://github.com/RustSec/advisory-db";
|
||||
};
|
||||
|
@ -53,6 +53,4 @@ in {
|
|||
|
||||
diff-so-fancy.enable = false;
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [delta];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue