From 0176935d1d53b71555b4809d08b1195fe80c4b2e Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Tue, 11 Jun 2019 13:37:25 -0700 Subject: refactor for and setup groq machine --- groq.nix | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 groq.nix (limited to 'groq.nix') diff --git a/groq.nix b/groq.nix new file mode 100644 index 0000000..f30d188 --- /dev/null +++ b/groq.nix @@ -0,0 +1,32 @@ +{ pkgs, ... }: + +let + gitCommitTemplate = ./git-commit-template; +in +{ + imports = [ + ./common.nix + ]; + programs = { + emacs = { + enable = true; + extraPackages = epkgs: import ./emacs-packages.nix { inherit epkgs; }; + }; + + git = { + enable = true; + userName = "Ben Sima"; + userEmail = "bsima@groq.com"; + ignores = [ "*~" "*.swp" ]; + package = pkgs.gitAndTools.gitFull; + extraConfig = '' + [push] + default = simple + + [commit] + template = ${gitCommitTemplate} + ''; + }; + + }; +} -- cgit v1.2.3