summaryrefslogtreecommitdiffstats
path: root/makefu/1systems/firecracker/config.nix
blob: 87f5002874154a2d380e0df48845ab65d07c9757 (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
{ config, lib, pkgs, ... }:
let
  primaryInterface = "eth0";
in {
  imports = [
    <stockholm/makefu>
    ./hardware-config.nix
    # <stockholm/makefu/2configs/tools/core.nix>
    { environment.systemPackages = with pkgs;[ rsync screen curl git ];}
    <stockholm/makefu/2configs/binary-cache/nixos.nix>
    #<stockholm/makefu/2configs/support-nixos.nix>
# configure your hw:
# <stockholm/makefu/2configs/save-diskspace.nix>
  ];
  krebs = {
    enable = true;
    tinc.retiolum.enable = true;
    build.host = config.krebs.hosts.firecracker;
  };
  networking.firewall.trustedInterfaces = [ primaryInterface ];
  documentation.info.enable = false;
  documentation.man.enable = false;
  services.nixosManual.enable = false;
  sound.enable = false;
}