summaryrefslogtreecommitdiffstats
path: root/jeschli/2configs/default.nix
blob: 0ac3708bb02898bfb7226f10b45a4bb7c1bfdefd (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{ config, pkgs, ... }:
with import <stockholm/lib>;
{
  imports = [
    ./vim.nix
    ./retiolum.nix
    <stockholm/lass/2configs/security-workarounds.nix>
    {
      environment.variables = {
        NIX_PATH = mkForce "secrets=/var/src/stockholm/null:/var/src";
      };
    }
  ];

  nixpkgs.config.allowUnfree = true;

  environment.systemPackages = with pkgs; [
  #stockholm
    git
    gnumake
    jq
    parallel
    proot
    populate

  # aliases
    (writeDashBin "irc" "ssh chat@enklave -t tmux a")

  #style
    most
    rxvt_unicode.terminfo

  #monitoring tools
    htop
    iotop

  #network
    iptables
    iftop

  #stuff for dl
    aria2

  #neat utils
    file
    kpaste
    krebspaste
    mosh
    pciutils
    psmisc
   # q
   # rs
    tmux
    untilport
    usbutils
  #  logify
    goify

  #unpack stuff
    p7zip
    unzip
    unrar

    (pkgs.writeDashBin "sshn" ''
      ${pkgs.openssh}/bin/ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no "$@"
    '')
  ];

  krebs.enable = true;
  networking.hostName = config.krebs.build.host.name;
}