From a4865d8b26277da77b5943392119922f750ad6d5 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Tue, 5 Jan 2021 12:22:47 -0800 Subject: groq: only set git email --- profiles/groq.nix | 54 ++---------------------------------------------------- 1 file changed, 2 insertions(+), 52 deletions(-) (limited to 'profiles') diff --git a/profiles/groq.nix b/profiles/groq.nix index d84fd4d..f97b05f 100644 --- a/profiles/groq.nix +++ b/profiles/groq.nix @@ -1,8 +1,5 @@ -{ pkgs, ... }: +{ pkgs, lib, ... }: -let - gitCommitTemplate = ./lib/git-commit-template; -in { imports = [ ../lib/common.nix @@ -35,58 +32,11 @@ in services = { emacs.enable = true; - keybase.enable = true; - # idk why this doesn't work, will run it manually - #kbfs = { - # enable = true; - # mountPoint = "~/keybase"; - # fusermountLocation = "/bin/fusermount"; - # extraFlags = [ - # "-log-file ~/log/kbfs.log" - # ]; - #}; }; - home.packages = [ - pkgs.kbfs - pkgs.keybase-gui - ]; programs = { - emacs = { - enable = true; - extraPackages = epkgs: import ./lib/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} - ''; - }; - - mbsync.enable = true; - msmtp.enable = true; - - notmuch = { - enable = true; - new.tags = ["new"]; - hooks = {}; - extraConfig.search.exclude_tags = "deleted;spam;"; - }; - - alot = { - enable = true; - extraConfig = '' - theme = solarized_light - ''; + userEmail = lib.mkOverride 10 "bsima@groq.com"; }; }; } -- cgit v1.2.3