nixos-config/config/host-config/spark.nix

28 lines
491 B
Nix

{ config, lib, pkgs, ... }:
with lib;
let stateDir = "/state";
hostname = ""
primaryIp = pkgs.lib.getHostIpv4 ""
in {
config = {
networking = {
interfaces.enp3s0 = {
ipv4.addresses = [{
address = primaryIp;
prefixLength = pkgs.lib.getHostIpv4 hostname;
}];
};
firewall.enable = false;
defaultGateway = {
};
};
fudo = {
slynk.enable = true;
wallfly.location = "family_room";
};
};
}