about summary refs log tree commit diff
path: root/nix/devel.nix
blob: 1de9179b3d8bddd73f72ebe3773d5ec3cb1d332b (plain) (blame)
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
33
34
{ pkgs, ... }:

{
  environment.systemPackages = with pkgs; [
    exa fd gitAndTools.gitFull glow jq manpages ripgrep rlwrap
    clojure gcc guile julia-stable-bin lua python3 rakudo zig
    bintools gdb gnumake leiningen mypy nix-index pkg-config
    plantuml texlive.combined.scheme-full
  ] ++ (with python3Packages; [ flit pip ]);

  programs.mtr.enable = true;
  programs.gnupg.agent = {
    enable = true;
    enableSSHSupport = true;
  };

  services = {
    # openssh.enable = true;
    ipfs = {
      enable = true;
      dataDir = "/data/IPFS";
    };

    postgresql = {
      enable = true;
      enableTCPIP = true;
      authentication = pkgs.lib.mkOverride 10 ''
        local all all trust
        host all all ::1/128 trust
        host all all 127.0.0.1/32 password
      '';
    };
  };
}