From b2d62a6f4441ddcedf707dde41984245409ba652 Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Fri, 21 Sep 2018 20:14:02 +0200 Subject: [PATCH] lnl: move gitconfig to dotfiles --- modules/examples/lnl.nix | 29 +---------------------------- 1 file changed, 1 insertion(+), 28 deletions(-) diff --git a/modules/examples/lnl.nix b/modules/examples/lnl.nix index 5d757bb..c540a8b 100644 --- a/modules/examples/lnl.nix +++ b/modules/examples/lnl.nix @@ -412,36 +412,9 @@ # services.skhd.skhdConfig = builtins.readFile ; # TODO: add module for per-user config, etc, ... + # environment.etc."per-user/lnl/gitconfig".text = builtins.readFile ; 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;