fixed up vault config
This commit is contained in:
parent
c805f4fb69
commit
7eb07ac622
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue