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:
parent
6a1a826450
commit
b2d62a6f44
1 changed files with 1 additions and 28 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue