2021-04-07 14:03:52 -07:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
2023-05-16 22:40:08 -07:00
|
|
|
with lib;
|
2024-05-21 23:16:02 -07:00
|
|
|
let stateDir = "/state";
|
|
|
|
hostname = ""
|
|
|
|
primaryIp = pkgs.lib.getHostIpv4 ""
|
2023-05-16 22:40:08 -07:00
|
|
|
in {
|
2024-05-21 23:16:02 -07:00
|
|
|
config = {
|
|
|
|
networking = {
|
|
|
|
interfaces.enp3s0 = {
|
|
|
|
ipv4.addresses = [{
|
|
|
|
address = primaryIp;
|
|
|
|
prefixLength = pkgs.lib.getHostIpv4 hostname;
|
|
|
|
}];
|
|
|
|
};
|
|
|
|
firewall.enable = false;
|
|
|
|
defaultGateway = {
|
2023-05-16 22:40:08 -07:00
|
|
|
|
2024-05-21 23:16:02 -07:00
|
|
|
};
|
2023-05-16 22:40:08 -07:00
|
|
|
};
|
2023-10-14 16:15:26 -07:00
|
|
|
|
2024-05-21 23:16:02 -07:00
|
|
|
fudo = {
|
|
|
|
slynk.enable = true;
|
|
|
|
wallfly.location = "family_room";
|
2023-10-14 16:15:26 -07:00
|
|
|
};
|
|
|
|
};
|
2021-04-07 14:03:52 -07:00
|
|
|
}
|