2023-06-11 23:09:59 +02:00
|
|
|
{ pkgs, lib, inputs', secret, ... }:
|
2023-06-28 14:22:11 +02:00
|
|
|
let
|
|
|
|
inherit (lib)
|
|
|
|
concatStringsSep;
|
|
|
|
in
|
2023-06-11 23:09:59 +02:00
|
|
|
{
|
|
|
|
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;
|
2023-06-28 14:22:11 +02:00
|
|
|
hardware.bluetooth = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
General.Enable = concatStringsSep "," [ "Control" "Gateway" "Headset" "Media" "Sink" "Socket" "Source" ];
|
|
|
|
};
|
|
|
|
};
|
2023-06-11 23:09:59 +02:00
|
|
|
}
|