about summary refs log tree commit diff
path: root/nix/devel.nix
blob: 76e60c532bc7ccde7d676a854f87bfe99acb5a73 (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
{ lib, pkgs, ... }:

{
  environment.systemPackages = with pkgs; [
    exa fd gitAndTools.gitFull glow jq minicom man-pages ripgrep rlwrap
    clojure gcc go lua python3 qbe rakudo zig
    bintools gdb gnumake luaPackages.luacheck mypy pkg-config
    plantuml texlive.combined.scheme-full
  ] ++ (with python3Packages; [ flit pip tox ]);

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

  services = {
    openssh = {
      enable = true;
      passwordAuthentication = false;
      kbdInteractiveAuthentication = false;
    };

    ipfs = {
      enableGC = true;
      user = "sea";
      dataDir = "/home/sea/.ipfs";
      # autoMount = true;
      localDiscovery = true;
    };
  };

  systemd.services.ipfs.preStart = lib.mkForce "";
}