about summary refs log tree commit diff
path: root/nix/devel.nix
blob: 113d966901aeade99f52aab48ca72b6aabc46d53 (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 pkg-config python38Packages.pip
    groff plantuml texlive.combined.scheme-full
  ];

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