nixphone stuff
This commit is contained in:
parent
0348ef1e6a
commit
f0fca1bad4
1 changed files with 433 additions and 236 deletions
15
modules/desktop/phone-usb.nix
Normal file
15
modules/desktop/phone-usb.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
networking.networkmanager.ensureProfiles.profiles.phone-usb = {
|
||||
connection = {
|
||||
id = "Phone (USB)";
|
||||
type = "ethernet";
|
||||
};
|
||||
ethernet.mac-address = "02:00:00:00:42:02";
|
||||
ipv4 = {
|
||||
method = "manual";
|
||||
address1 = "172.16.42.2/24";
|
||||
never-default = true;
|
||||
};
|
||||
ipv6.method = "disabled";
|
||||
};
|
||||
}
|
||||
Loading…
Reference in a new issue