{ config, pkgs, ... }: let shack-ip = config.krebs.build.host.nets.shack.ip4.addr; in { imports = [ ./hardware-configuration.nix # # # # provides access to /home/share for smbuser via smb { fileSystems."/home/share" = { device = "/serve"; options = [ "bind" "nofail" ]; }; } ## Collect local statistics via collectd and send to collectd # ]; krebs.build.host = config.krebs.hosts.filebitch; sound.enable = false; services.udev.extraRules = '' SUBSYSTEM=="net", ATTR{address}=="60:a4:4c:3d:52:cf", NAME="et0" ''; networking = { firewall.enable = true; interfaces.et0.ipv4.addresses = [ { address = shack-ip; prefixLength = 20; } ]; defaultGateway = "10.42.0.1"; nameservers = [ "10.42.0.100" "10.42.0.200" ]; }; }