stockholm/makefu/1systems/tsp.nix

38 lines
923 B
Nix
Raw Normal View History

2015-08-11 19:00:22 +00:00
#
#
#
{ config, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
../2configs/base.nix
../2configs/base-gui.nix
2015-08-07 10:53:38 +00:00
../2configs/tinc-basic-retiolum.nix
2015-08-07 10:10:02 +00:00
../2configs/sda-crypto-root.nix
2015-08-07 10:53:38 +00:00
# hardware specifics are in here
../2configs/tp-x200.nix
];
2015-08-05 13:11:52 +00:00
# not working in vm
krebs.build.host = config.krebs.hosts.tsp;
krebs.build.user = config.krebs.users.makefu;
krebs.build.target = "root@tsp";
2015-08-13 15:15:09 +00:00
krebs.exim-retiolum.enable = true;
networking.firewall.allowedTCPPorts = [
# nginx runs on 80
# graphite-web runs on 8080, carbon cache runs on 2003 tcp and udp
25
];
krebs.build.deps = {
nixpkgs = {
2015-08-05 13:11:52 +00:00
#url = https://github.com/NixOS/nixpkgs;
2015-08-07 10:10:02 +00:00
# rev=$(curl https://nixos.org/channels/nixos-unstable/git-revision -L)
2015-08-05 13:11:52 +00:00
url = https://github.com/makefu/nixpkgs;
2015-08-07 10:10:02 +00:00
rev = "8b8b65da24f13f9317504e8bcba476f9161613fe";
};
};
}