Add priority to networking
This commit is contained in:
parent
280df8c9c1
commit
44b4ec83c4
2 changed files with 26 additions and 2 deletions
|
@ -12,6 +12,14 @@
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "redmond";
|
hostName = "redmond";
|
||||||
wireless.enable = true;
|
wireless.enable = true;
|
||||||
|
interfaces."wlp1s0".ipv4.addresses = [{
|
||||||
|
address = "192.168.2.200";
|
||||||
|
prefixLength = 24;
|
||||||
|
}];
|
||||||
|
defaultGateway = {
|
||||||
|
address = "192.168.2.1";
|
||||||
|
interface = "wlp1s0";
|
||||||
|
};
|
||||||
wg-quick.interfaces.wgc.address = [ "10.100.0.23/24" ];
|
wg-quick.interfaces.wgc.address = [ "10.100.0.23/24" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,24 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
networking.wireless.networks = {
|
networking.wireless.networks = {
|
||||||
"JimRouter".pskRaw = "074c4aa88823219bbf0dd02d002e1780035c017e4fe579336c7435236ab5b76a";
|
"JimRouter_5G" = {
|
||||||
"JimRouter_5G".pskRaw = "5156b4c53e87eeab7ad2bad7539db5eff2ffa1b1c3e029c941497f8aa89b0a34";
|
priority = 1;
|
||||||
|
pskRaw = "5156b4c53e87eeab7ad2bad7539db5eff2ffa1b1c3e029c941497f8aa89b0a34";
|
||||||
|
};
|
||||||
|
"JimRouter" = {
|
||||||
|
priority = 2;
|
||||||
|
pskRaw = "074c4aa88823219bbf0dd02d002e1780035c017e4fe579336c7435236ab5b76a";
|
||||||
|
};
|
||||||
|
|
||||||
|
"JimRouter2_5G" = {
|
||||||
|
priority = 3;
|
||||||
|
pskRaw = "da5cc7b59870145ce7541412ddc9e6fc3b489e7ff98537d2d0e405487eb74f9c";
|
||||||
|
};
|
||||||
|
"JimRouter2" = {
|
||||||
|
priority = 4;
|
||||||
|
pskRaw = "b88862f69a24031ef3c6922760448d350b5caefa391c6f44943b65ff2fd84800";
|
||||||
|
};
|
||||||
|
|
||||||
"BELL853".pskRaw = "8592380486aa824faf7ffa9dfa36135df6c22eeb48ef7a10f834ce437c742ab0";
|
"BELL853".pskRaw = "8592380486aa824faf7ffa9dfa36135df6c22eeb48ef7a10f834ce437c742ab0";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue