temp
This commit is contained in:
@@ -116,6 +116,7 @@
|
|||||||
# networking.interfaces.veth7.useDHCP = lib.mkDefault true;
|
# networking.interfaces.veth7.useDHCP = lib.mkDefault true;
|
||||||
# networking.interfaces.vethd3ca67e.useDHCP = lib.mkDefault true;
|
# networking.interfaces.vethd3ca67e.useDHCP = lib.mkDefault true;
|
||||||
# networking.interfaces.wlp6s0.useDHCP = lib.mkDefault true;
|
# networking.interfaces.wlp6s0.useDHCP = lib.mkDefault true;
|
||||||
|
# networking.interfaces.wlp7s0.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
let
|
let
|
||||||
hostname = "jallen-nas";
|
hostname = "jallen-nas";
|
||||||
ipAddress = "10.0.1.18";
|
ipAddress = "10.0.1.18";
|
||||||
|
ipAddress2 = "10.0.1.19";
|
||||||
gateway = "10.0.1.1";
|
gateway = "10.0.1.1";
|
||||||
allowedPorts = [
|
allowedPorts = [
|
||||||
2342
|
2342
|
||||||
@@ -14,7 +15,7 @@ let
|
|||||||
];
|
];
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
# Networking configs enp7s0
|
# Networking configs wlp7s0
|
||||||
networking = {
|
networking = {
|
||||||
hostName = hostname;
|
hostName = hostname;
|
||||||
|
|
||||||
@@ -34,6 +35,16 @@ in
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
wlp7s0 = {
|
||||||
|
useDHCP = false;
|
||||||
|
ipv4.addresses = [
|
||||||
|
{
|
||||||
|
address = ipAddress2;
|
||||||
|
prefixLength = 24;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
# br0 = {
|
# br0 = {
|
||||||
# useDHCP = false;
|
# useDHCP = false;
|
||||||
# ipv4.addresses = [
|
# ipv4.addresses = [
|
||||||
@@ -61,6 +72,10 @@ in
|
|||||||
"Joey's Jungle 5G" = {
|
"Joey's Jungle 5G" = {
|
||||||
pskRaw = "ext:PSK";
|
pskRaw = "ext:PSK";
|
||||||
};
|
};
|
||||||
|
"Joey's Jungle 6G" = {
|
||||||
|
pskRaw = "ext:PSK";
|
||||||
|
priority = 1000;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ in
|
|||||||
};
|
};
|
||||||
dhcp = {
|
dhcp = {
|
||||||
enabled = true;
|
enabled = true;
|
||||||
interface_name = "wlp6s0";
|
interface_name = "wlp7s0";
|
||||||
dhcpv4 = {
|
dhcpv4 = {
|
||||||
gateway_ip = "10.0.1.1";
|
gateway_ip = "10.0.1.1";
|
||||||
subnet_mask = "255.255.255.0";
|
subnet_mask = "255.255.255.0";
|
||||||
|
|||||||
Reference in New Issue
Block a user