mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
Add nvidia
This commit is contained in:
parent
51fc35cc23
commit
63cfe65e1a
3 changed files with 17 additions and 47 deletions
|
|
@ -54,7 +54,10 @@ in with lib; {
|
|||
networking.firewall.allowedUDPPorts = [ 51820 ];
|
||||
networking.wg-quick.interfaces = lib.mkIf (wg.id != null) {
|
||||
wg0 = {
|
||||
address = [ "10.0.0.${wg.id}/24" "fdc9:281f:04d7:9ee9::${wg.id}/64" ];
|
||||
address = [
|
||||
"10.0.0.${toString wg.id}/24"
|
||||
"fdc9:281f:04d7:9ee9::${toString wg.id}/64"
|
||||
];
|
||||
dns = [ "10.0.0.1" "fdc9:281f:04d7:9ee9::1" ];
|
||||
mtu = 1500;
|
||||
privateKeyFile = "/home/muon/wireguard-keys/private";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue