mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
Add muop wg peer
This commit is contained in:
parent
15053e74e0
commit
06b5695b4a
2 changed files with 45 additions and 42 deletions
|
|
@ -4,8 +4,7 @@
|
|||
mods.nix.clean.enable = lib.mkEnableOption "enables nix auto cleaning";
|
||||
};
|
||||
|
||||
config =
|
||||
let flake = "${config.environment.sessionVariables.XDG_CONFIG_HOME}/home";
|
||||
config = let flake = "/home/${config.mods.user.name}/.config/home";
|
||||
in {
|
||||
system.autoUpgrade = {
|
||||
enable = config.mods.nix.upgrade.enable;
|
||||
|
|
|
|||
|
|
@ -45,17 +45,21 @@
|
|||
'';
|
||||
|
||||
peers = [
|
||||
{ # peer0
|
||||
{ # peer0 - muon
|
||||
publicKey = "MDBdADwP/SE/T9cadXB1Mup7Dr3x+l6gBFBN83BU4Dg=";
|
||||
presharedKeyFile = "/home/muon/wireguard-keys/psk-muon";
|
||||
allowedIPs = [ "10.0.0.2/32" "fdc9:281f:04d7:9ee9::2/128" ];
|
||||
}
|
||||
{ # peer1
|
||||
{ # peer1 - muho
|
||||
publicKey = "ohf/tGV9bjDDh/i9U5+DNvFtn+Glm8Wy1ieHoPvXfCo=";
|
||||
presharedKeyFile = "/home/muon/wireguard-keys/psk-muho";
|
||||
allowedIPs = [ "10.0.0.3/32" "fdc9:281f:04d7:9ee9::3/128" ];
|
||||
}
|
||||
# More peers can be added here.
|
||||
{ # peer2 - muop
|
||||
publicKey = "PgWVukvuXexAl42xk8jdysa28xcYZiV3RduaN9j3Axo=";
|
||||
presharedKeyFile = "/home/muon/wireguard-keys/psk-muop";
|
||||
allowedIPs = [ "10.0.0.4/32" "fdc9:281f:04d7:9ee9::4/128" ];
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue