forked from unionlabs/union
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c9ee5b0
commit 5d89244
Showing
1 changed file
with
13 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,13 @@ An example flake.nix configuration can be found in [`usage.nix`](./usage.nix): | |
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; | ||
union.url = "git+ssh://[email protected]/unionlabs/union"; | ||
}; | ||
outputs = { self, nixpkgs, union, ... }: | ||
outputs = | ||
{ | ||
self, | ||
nixpkgs, | ||
union, | ||
... | ||
}: | ||
{ | ||
nixosConfigurations.testnet-validator = | ||
let | ||
|
@@ -31,7 +37,12 @@ An example flake.nix configuration can be found in [`usage.nix`](./usage.nix): | |
imports = [ "${nixpkgs}/nixos/modules/virtualisation/openstack-config.nix" ]; | ||
# Allow other validators to reach you | ||
networking.firewall.allowedTCPPorts = [ 80 443 26656 26657 ]; | ||
networking.firewall.allowedTCPPorts = [ | ||
80 | ||
443 | ||
26656 | ||
26657 | ||
]; | ||
# Unionvisor module configuration | ||
services.unionvisor = { | ||
|