summaryrefslogtreecommitdiff
path: root/profiles/groq.nix
blob: 2dddf13bf47582aeadd81967c9352f43f062f792 (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
31
32
{ pkgs, lib, ... }:

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

  home.sessionVariables.EDITOR = "emacsclient";

  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;
    };
  };
}