From 7eb07ac622517c3ed0ccad667c9facb9c46e160b Mon Sep 17 00:00:00 2001 From: victor Date: Thu, 29 Sep 2022 20:52:21 +0200 Subject: [PATCH] fixed up vault config --- nixos/hosts/olympus/vault-0/configuration.nix | 7 +------ nixos/hosts/olympus/vault-1/configuration.nix | 9 +-------- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/nixos/hosts/olympus/vault-0/configuration.nix b/nixos/hosts/olympus/vault-0/configuration.nix index 0e508de..0eae86e 100644 --- a/nixos/hosts/olympus/vault-0/configuration.nix +++ b/nixos/hosts/olympus/vault-0/configuration.nix @@ -2,12 +2,7 @@ # your system. Help is available in the configuration.nix(5) man page # and in the NixOS manual (accessible by running ‘nixos-help’). -{ config, pkgs, hosts, ... }: -let - port = 8200; - clusterPort = 8201; - ip = config.deployment.targetHost; -in { +{ config, pkgs, hosts, ... }: { # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It‘s perfectly fine and recommended to leave diff --git a/nixos/hosts/olympus/vault-1/configuration.nix b/nixos/hosts/olympus/vault-1/configuration.nix index ed2ce83..3ef0c94 100644 --- a/nixos/hosts/olympus/vault-1/configuration.nix +++ b/nixos/hosts/olympus/vault-1/configuration.nix @@ -2,11 +2,7 @@ # your system. Help is available in the configuration.nix(5) man page # and in the NixOS manual (accessible by running ‘nixos-help’). -{ config, pkgs, hosts, ... }: -let - port = 8200; - clusterPort = 8201; -in { +{ config, pkgs, hosts, ... }: { # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It‘s perfectly fine and recommended to leave @@ -15,9 +11,6 @@ in { # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). system.stateVersion = "21.05"; # Did you read the comment? - # Vault - networking.firewall.allowedTCPPorts = [ port clusterPort ]; - # Vault services.v.vault = { enable = true;