aboutsummaryrefslogtreecommitdiff
path: root/home/git/default.nix (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-03-10home/git: diff the content for age encrypted filesFranck Cuny1-0/+4
2023-02-21fix(home/git): simplify gitignore configurationFranck Cuny1-21/+1
2023-02-20ref(home/git): sign commits and tags properlyFranck Cuny1-7/+16
The configuration can be simplified by using the `signing' directive. For some reason it was also set in the configuration for `pass' which, while it was correct, was in the wrong location.
2023-02-20ref(modules/users): move ssh keys to a separate fileFranck Cuny1-1/+4
Each key is associated to a variable, which let me be more specific about which key to use depending on the context.
2022-11-05ref(home/git): update mapping for the git-helperFranck Cuny1-0/+1
2022-10-29fix(home/git): remove a gerrit referenceFranck Cuny1-1/+0
2022-09-17feat(home/git): sign commits with my ssh keyFranck Cuny1-0/+4
GitHub supports signing commits with a ssh key now (git has supported this feature for a while but it was not yet available on GitHub). More details at [1]. I used the steps documented in [2] for nix. [1] https://github.blog/changelog/2022-08-23-ssh-commit-verification-now-supported/ [2] https://jeppesen.io/git-commit-sign-nix-home-manager-ssh/
2022-07-02fix(home/git): install pre-commit toolFranck Cuny1-1/+1
The tool `pre-commit' is installed as part of the nix shell for this repository, but not on the host (or in my profile). It means that if I try to make a commit via Emacs/magit, it fails, since it's not in my path. By installing it with home-manager, it's in the path, and it can be used by magit when creating a commit. Change-Id: Ifa61d0be1027043eecaf11dd40fbba1ed2f5a9a6 Reviewed-on: https://cl.fcuny.net/c/world/+/591 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-06-20doc(home/git): comment some of the optionsFranck Cuny1-0/+4
Change-Id: I7c898923c423a30cbc5ba8ba79fb8b9e8e4d2d21 Reviewed-on: https://cl.fcuny.net/c/world/+/461 Reviewed-by: Franck Cuny <franck@fcuny.net> Tested-by: CI
2022-06-20feat(home/git): add a few more options in the default configurationFranck Cuny1-0/+5
Change-Id: I14c7b3349973db99c01c102c57f453840f284612 Reviewed-on: https://cl.fcuny.net/c/world/+/460 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-06-18feat(tools/git-blame-stats): add the CLI with default git configurationFranck Cuny1-1/+2
Change-Id: I59fed38dca010d6aeac48b5066021ca61ba69db9 Reviewed-on: https://cl.fcuny.net/c/world/+/447 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-06-10fix(fmt): correct formatting for all nix filesFranck Cuny1-1/+2
This was done by running `nixpkgs-fmt .'. Change-Id: I4ea6c1e759bf468d08074be2111cbc7af72df295 Reviewed-on: https://cl.fcuny.net/c/world/+/404 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-06-09ref(git): remove git.fcuny.net from configurationFranck Cuny1-1/+0
I don't have credentials for that URL anymore, everything goes through cl.fcuny.net. Change-Id: I2361444c2ea42679ab4f28758f708e53eb9c8c06 Reviewed-on: https://cl.fcuny.net/c/world/+/302 Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-05-29feat(home/git): add alias to review with gerritFranck Cuny1-0/+1
Change-Id: Ie3244add8420632017132c20c804fd6ecab3a4e0 Reviewed-on: https://cl.fcuny.net/c/world/+/164 Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-05-26feat(home/git): add credential configuration for cl.fcuny.netFranck Cuny1-0/+1
Change-Id: I94e28dc52d69c3c2ee4d59a0109c9ae32402fb2c
2022-05-18feat(git): add a template for commit messagesFranck Cuny1-40/+44
In order to write good commit message, having a reminder of how to write them is useful. This template provides some guidance to categorize the change and how to phrase the description.
2022-04-07home: misc fixesFranck Cuny1-1/+1
2022-04-07initial attempt to reconfigure home-managerFranck Cuny1-2/+6
All the modules that are needed for home-manager should be under `home/`, and each host will have a `host.nix` where the modules are enabled as needed. Later on we can create some profiles to make it easier to consume the configuration. I apply this only to tahoe for now, as the amount of packages needed for my user are pretty limited.
2022-03-05git: sign with GPG only when one desktopFranck Cuny1-10/+4
Move the configuration for git that requires the signing to pass, and use the `pass-git-helper` to manage the secrets.
2022-03-05git: nixfmtFranck Cuny1-3/+1
2022-02-13home-manager: typo in git moduleFranck Cuny1-0/+2
2022-02-13gpg: set default keyFranck Cuny1-0/+4
And use the default key for signing with git.
2022-02-12home-manager: typoFranck Cuny1-1/+1
I need something to help with lint/validation ...
2022-02-12home-manager: git credential helpers configurationFranck Cuny1-0/+9
2022-02-12home-manager: re-organize configuration for myselfFranck Cuny1-0/+0
2022-02-09git: update list of things to ignoreFranck Cuny1-1/+21
2022-02-09home-manager: add more common programsFranck Cuny1-0/+20
Add git configuration and move go to its own module.