1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-13 20:30:02 +00:00

lnl: move gitconfig to dotfiles

This commit is contained in:
Daiderd Jordan 2018-09-21 20:14:02 +02:00
parent 6a1a826450
commit b2d62a6f44
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -412,36 +412,9 @@
# services.skhd.skhdConfig = builtins.readFile <dotfiles/skhd/skhdrc>;
# TODO: add module for per-user config, etc, ...
# environment.etc."per-user/lnl/gitconfig".text = builtins.readFile <dotfiles/git/gitconfig>;
system.activationScripts.extraUserActivation.text = "ln -sfn /etc/per-user/lnl/gitconfig ~/.gitconfig";
environment.etc."per-user/lnl/gitconfig".text = ''
[include]
path = .gitconfig.local
[core]
excludesfile = ~/.gitignore
autocrlf = input
[color]
ui = auto
[commit]
verbose = true
[pretty]
color = format:%C(yellow)%h%C(red)%d%Creset %s %C(green)%an, %ar%Creset
nocolor = format:%h%d %s %an, %ar
[rerere]
enabled = true
[user]
name = Daiderd Jordan
[github]
user = LnL7
'';
# You should generally set this to the total number of logical cores in your system.
# $ sysctl -n hw.ncpu
nix.maxJobs = 1;