summaryrefslogtreecommitdiff
path: root/modules/examples/lnl.nix
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2018-09-21 20:14:02 +0200
committerDaiderd Jordan <daiderd@gmail.com>2018-09-21 20:14:02 +0200
commitb2d62a6f4441ddcedf707dde41984245409ba652 (patch)
treed7ac6bd155b5eb369d3cc71c03a4a9883d9a89d1 /modules/examples/lnl.nix
parent6a1a826450cf4a64a14866e07d6279ed998af1e9 (diff)
lnl: move gitconfig to dotfiles
Diffstat (limited to 'modules/examples/lnl.nix')
-rw-r--r--modules/examples/lnl.nix29
1 files changed, 1 insertions, 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 <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;