Add federispitz configuration
This commit is contained in:
parent
64bcf75ead
commit
c754f862b6
5 changed files with 145 additions and 0 deletions
26
host/federispitz/networking.nix
Normal file
26
host/federispitz/networking.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
|
||||
networking = {
|
||||
networkmanager.enable = true;
|
||||
useDHCP = false;
|
||||
#wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||
hostName = "federispitz";
|
||||
};
|
||||
|
||||
# Configure network proxy if necessary
|
||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
||||
|
||||
#networking.wireguard.enable = true;
|
||||
#networking.wireguard.interfaces = let
|
||||
# meta = import ../../meta;
|
||||
# vnetworks = meta.network.virtual;
|
||||
# vnetworkName = "mgmt";
|
||||
#in {
|
||||
# "wg-${vnetworkName}" =
|
||||
# pkgs.lib.qois.wireguard.makeInterface config.networking.hostName
|
||||
# vnetworkName vnetworks.${vnetworkName};
|
||||
#};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue