2017-12-06 16:41:08 +00:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
with import <stockholm/lib>;
|
|
|
|
{
|
|
|
|
imports = [
|
2019-04-25 09:50:00 +00:00
|
|
|
# ./vim.nix
|
2017-12-06 16:41:08 +00:00
|
|
|
./retiolum.nix
|
2018-01-31 08:38:47 +00:00
|
|
|
./zsh.nix
|
2018-01-09 10:16:43 +00:00
|
|
|
<stockholm/lass/2configs/security-workarounds.nix>
|
2017-12-06 16:41:08 +00:00
|
|
|
{
|
|
|
|
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
|
|
|
|
|
2018-01-12 11:03:01 +00:00
|
|
|
# aliases
|
|
|
|
(writeDashBin "irc" "ssh chat@enklave -t tmux a")
|
|
|
|
|
2017-12-06 16:41:08 +00:00
|
|
|
#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
|
2019-04-25 09:50:00 +00:00
|
|
|
vim
|
2017-12-06 16:41:08 +00:00
|
|
|
#unpack stuff
|
|
|
|
p7zip
|
|
|
|
unzip
|
|
|
|
unrar
|
|
|
|
|
|
|
|
(pkgs.writeDashBin "sshn" ''
|
|
|
|
${pkgs.openssh}/bin/ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no "$@"
|
|
|
|
'')
|
|
|
|
];
|
|
|
|
|
|
|
|
krebs.enable = true;
|
2018-01-10 14:07:04 +00:00
|
|
|
networking.hostName = config.krebs.build.host.name;
|
2017-12-06 16:41:08 +00:00
|
|
|
}
|