I should commit more frequently

This commit is contained in:
Andrea Ciceri 2023-12-07 23:07:36 +01:00
parent aa8003f5b4
commit e82241b8b0
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg
70 changed files with 1091 additions and 2018 deletions

View file

@ -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];
}