mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-12-02 13:06:11 +01:00
a96f79171a
Signed-off-by: Magic_RB <magic_rb@redalder.org>
29 lines
642 B
Nix
29 lines
642 B
Nix
{ pkgs, lib, inputs', secret, ... }:
|
|
let
|
|
inherit (lib)
|
|
concatStringsSep;
|
|
in
|
|
{
|
|
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;
|
|
settings = {
|
|
General.Enable = concatStringsSep "," [ "Control" "Gateway" "Headset" "Media" "Sink" "Socket" "Source" ];
|
|
};
|
|
};
|
|
}
|