diff options
author | Ben Sima <bsima@groq.com> | 2021-01-05 12:22:47 -0800 |
---|---|---|
committer | Ben Sima <bsima@groq.com> | 2022-01-05 10:41:58 -0800 |
commit | a4865d8b26277da77b5943392119922f750ad6d5 (patch) | |
tree | f0ed3d903c6fbbd2e2255d634ba834c7a339bbdf /profiles | |
parent | a5453be306032c1143d285ada2b5f2d5a19fcc11 (diff) |
groq: only set git email
Diffstat (limited to 'profiles')
-rw-r--r-- | profiles/groq.nix | 54 |
1 files changed, 2 insertions, 52 deletions
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"; }; }; } |