Test
This commit is contained in:
parent
e25cd812eb
commit
e8388b34e7
1 changed files with 16 additions and 0 deletions
|
@ -43,5 +43,21 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
boot.initrd.services.udev.rules = ''
|
||||||
|
# This is used to change the default configuration of Realtek USB ethernet adapters
|
||||||
|
|
||||||
|
ACTION!="add", GOTO="usb_realtek_net_end"
|
||||||
|
SUBSYSTEM!="usb", GOTO="usb_realtek_net_end"
|
||||||
|
ENV{DEVTYPE}!="usb_device", GOTO="usb_realtek_net_end"
|
||||||
|
|
||||||
|
# Modify this to change the default value
|
||||||
|
ENV{REALTEK_MODE1}="1"
|
||||||
|
|
||||||
|
# Realtek
|
||||||
|
ATTR{idVendor}=="0bda", ATTR{idProduct}=="815[2,3,5,6]", ATTR{bConfigurationValue}!="$env{REALTEK_MODE1}", ATTR{bConfigurationValue}="$env{REALTEK_MODE1}"
|
||||||
|
|
||||||
|
LABEL="usb_realtek_net_end"
|
||||||
|
'';
|
||||||
|
|
||||||
services.tailscale.authKeyFile = "/run/secrets/tailscale_keys/framework-server";
|
services.tailscale.authKeyFile = "/run/secrets/tailscale_keys/framework-server";
|
||||||
}
|
}
|
Loading…
Reference in a new issue