Revert network changes on Jeremiah
This commit is contained in:
@@ -1,18 +1,15 @@
|
|||||||
# Edit this configuration file to define what should be installed on
|
|
||||||
# your system. Help is available in the configuration.nix(5) man page
|
|
||||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
|
||||||
|
|
||||||
{
|
{
|
||||||
config,
|
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
top,
|
top,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
let
|
||||||
|
ip = "10.42.1.8";
|
||||||
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
# Include the results of the hardware scan.
|
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
top.proxmox.nixosModules.proxmox-ve
|
top.proxmox.nixosModules.proxmox-ve
|
||||||
];
|
];
|
||||||
@@ -74,7 +71,7 @@
|
|||||||
kubernetes = {
|
kubernetes = {
|
||||||
enable = true;
|
enable = true;
|
||||||
vipInterface = "br0";
|
vipInterface = "br0";
|
||||||
vip = "10.42.1.8";
|
vip = ip;
|
||||||
priority = 254;
|
priority = 254;
|
||||||
};
|
};
|
||||||
tailscale = {
|
tailscale = {
|
||||||
@@ -105,7 +102,15 @@
|
|||||||
interface = "br0";
|
interface = "br0";
|
||||||
};
|
};
|
||||||
firewall.allowedTCPPorts = [ 3389 ];
|
firewall.allowedTCPPorts = [ 3389 ];
|
||||||
interfaces.br0.useDHCP = true;
|
interfaces.br0.ipv4 = {
|
||||||
|
addresses = [
|
||||||
|
{
|
||||||
|
address = ip;
|
||||||
|
prefixLength = 16;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
nameservers = [ "10.42.1.5" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.steam = {
|
programs.steam = {
|
||||||
@@ -127,7 +132,7 @@
|
|||||||
};
|
};
|
||||||
proxmox-ve = {
|
proxmox-ve = {
|
||||||
enable = true;
|
enable = true;
|
||||||
ipAddress = "10.42.1.8";
|
ipAddress = ip;
|
||||||
};
|
};
|
||||||
sunshine = {
|
sunshine = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user