summaryrefslogtreecommitdiff
path: root/profiles/groq.nix
blob: db73525d6dc4ddf1139d0b884e1c5af992408c29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ pkgs, lib, ... }:

let
  homedir = builtins.getEnv "HOME";
in {
  imports = [
    ../lib/common.nix
    ../lib/packages.nix
    ../lib/emacs.nix
  ];

  programs.git.userEmail = lib.mkOverride 10 "bsima@groq.com";
  programs.git.extraConfig.safe.directory = "/home/ggagarin/Groq";
  programs.emacs.enable = true;
  services.emacs.enable = true;

  programs.pandoc.enable = true;

  # i use a separate passphrase-protected key for getting my personal git repos
  # onto my groq machine
  programs.ssh = {
    enable = true;
    matchBlocks."simatime.com" = {
      hostname = "simatime.com";
      user = "git";
      identityFile = [ "${homedir}/.ssh/git@simatime.com" ];
      identitiesOnly = true;
    };
  };
}