added share nm-connection to main and lush
This commit is contained in:
@@ -110,14 +110,16 @@
|
|||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
|
|
||||||
networking.networkmanager.profiles = {
|
networking.networkmanager.profiles = {
|
||||||
main = {
|
home = {
|
||||||
connection = {
|
connection = {
|
||||||
id = "main";
|
id = "main";
|
||||||
uuid = "a02273d9-ad12-395e-8372-f61129635b6f";
|
uuid = "a02273d9-ad12-395e-8372-f61129635b6f";
|
||||||
type = "ethernet";
|
type = "ethernet";
|
||||||
autoconnect-priority = "-999";
|
autoconnect-priority = "-999";
|
||||||
interface-name = "eth0";
|
interface-name = "eth0";
|
||||||
|
autoconnect = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
ipv4 = {
|
ipv4 = {
|
||||||
address1 = "192.168.1.44/24,192.168.1.1";
|
address1 = "192.168.1.44/24,192.168.1.1";
|
||||||
dns = "1.1.1.1;";
|
dns = "1.1.1.1;";
|
||||||
@@ -150,13 +152,36 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
share = {
|
||||||
|
connection = {
|
||||||
|
id = "share";
|
||||||
|
uuid = "f55f34e3-4595-4642-b1f6-df3185bc0a04";
|
||||||
|
type = "ethernet";
|
||||||
|
autoconnect = false;
|
||||||
|
interface-name = "eth0";
|
||||||
|
};
|
||||||
|
|
||||||
|
ethernet = {
|
||||||
|
mac-address = "F4:39:09:4A:DF:0E";
|
||||||
|
};
|
||||||
|
|
||||||
|
ipv4 = {
|
||||||
|
address1 = "192.168.4.1/24";
|
||||||
|
method = "shared";
|
||||||
|
};
|
||||||
|
|
||||||
|
ipv6 = {
|
||||||
|
addr-gen-mode = "stable-privacy";
|
||||||
|
method = "auto";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
pt = {
|
pt = {
|
||||||
connection = {
|
connection = {
|
||||||
id = "pt";
|
id = "pt";
|
||||||
uuid = "f028117e-9eef-47c1-8483-574f7ee798a4";
|
uuid = "f028117e-9eef-47c1-8483-574f7ee798a4";
|
||||||
type = "bluetooth";
|
type = "bluetooth";
|
||||||
autoconnect = "true";
|
autoconnect = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
bluetooth = {
|
bluetooth = {
|
||||||
|
|||||||
@@ -318,7 +318,7 @@
|
|||||||
id = "hot";
|
id = "hot";
|
||||||
uuid = "ab51de8a-9742-465a-928b-be54a83ab6a3";
|
uuid = "ab51de8a-9742-465a-928b-be54a83ab6a3";
|
||||||
type = "wifi";
|
type = "wifi";
|
||||||
autoconnect = "false";
|
autoconnect = false;
|
||||||
interface-name = "wlp2s0";
|
interface-name = "wlp2s0";
|
||||||
};
|
};
|
||||||
wifi = {
|
wifi = {
|
||||||
@@ -332,6 +332,30 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
share = {
|
||||||
|
connection = {
|
||||||
|
id = "share";
|
||||||
|
uuid = "f55f34e3-4595-4642-b1f6-df3185bc0a04";
|
||||||
|
type = "ethernet";
|
||||||
|
autoconnect = false;
|
||||||
|
interface-name = "enp1s0";
|
||||||
|
};
|
||||||
|
|
||||||
|
ethernet = {
|
||||||
|
mac-address = "F4:39:09:4A:DF:0E";
|
||||||
|
};
|
||||||
|
|
||||||
|
ipv4 = {
|
||||||
|
address1 = "192.168.4.1/24";
|
||||||
|
method = "shared";
|
||||||
|
};
|
||||||
|
|
||||||
|
ipv6 = {
|
||||||
|
addr-gen-mode = "stable-privacy";
|
||||||
|
method = "auto";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
dhcp = {
|
dhcp = {
|
||||||
connection = {
|
connection = {
|
||||||
id = "dhcp";
|
id = "dhcp";
|
||||||
|
|||||||
Reference in New Issue
Block a user