Compare commits
2 Commits
b6aef85860
...
4d79714853
| Author | SHA1 | Date | |
|---|---|---|---|
| 4d79714853 | |||
| 66579fcbfc |
@@ -137,7 +137,7 @@ in
|
|||||||
specialArgs.inputs = inputs;
|
specialArgs.inputs = inputs;
|
||||||
specialArgs.self = self;
|
specialArgs.self = self;
|
||||||
modules = makeMicroVM "vpn" "10.0.0.10" "D0:E5:CA:F0:D7:E6" [
|
modules = makeMicroVM "vpn" "10.0.0.10" "D0:E5:CA:F0:D7:E6" [
|
||||||
#self.nixosModules.malobeo
|
self.nixosModules.malobeo
|
||||||
./vpn/configuration.nix
|
./vpn/configuration.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ in
|
|||||||
networking.wireguard = {
|
networking.wireguard = {
|
||||||
enable = true;
|
enable = true;
|
||||||
interfaces = {
|
interfaces = {
|
||||||
wg0 = {
|
malovpn = {
|
||||||
ips = myPeer.ips;
|
ips = myPeer.ips;
|
||||||
listenPort = mkIf (myPeer.role == "server") myPeer.listenPort;
|
listenPort = mkIf (myPeer.role == "server") myPeer.listenPort;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user