dotfiles/nixos/systems/omen/networking.nix
Magic_RB 519d7b3841
Fill out omen, toothpick and heater
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-06-16 16:08:01 +02:00

20 lines
448 B
Nix

{ pkgs, lib, inputs', secret, ... }:
{
networking = {
hostName = "omen";
useDHCP = false;
# interfaces.eno1.useDHCP = true;
hostId = "10c7ffc5";
networkmanager.dns = "none";
nameservers = [ "10.64.2.1" ];
firewall.allowedTCPPorts = [22000];
wireguard.interfaces."wg0" =
secret.wireguard."omen" or { privateKey = ""; };
};
networking.networkmanager.enable = true;
hardware.bluetooth.enable = true;
}