fixed up vault config
This commit is contained in:
parent
c805f4fb69
commit
7eb07ac622
2 changed files with 2 additions and 14 deletions
|
@ -2,12 +2,7 @@
|
||||||
# your system. Help is available in the configuration.nix(5) man page
|
# your system. Help is available in the configuration.nix(5) man page
|
||||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||||
|
|
||||||
{ config, pkgs, hosts, ... }:
|
{ config, pkgs, hosts, ... }: {
|
||||||
let
|
|
||||||
port = 8200;
|
|
||||||
clusterPort = 8201;
|
|
||||||
ip = config.deployment.targetHost;
|
|
||||||
in {
|
|
||||||
# This value determines the NixOS release from which the default
|
# This value determines the NixOS release from which the default
|
||||||
# settings for stateful data, like file locations and database versions
|
# settings for stateful data, like file locations and database versions
|
||||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
# 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
|
# your system. Help is available in the configuration.nix(5) man page
|
||||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||||
|
|
||||||
{ config, pkgs, hosts, ... }:
|
{ config, pkgs, hosts, ... }: {
|
||||||
let
|
|
||||||
port = 8200;
|
|
||||||
clusterPort = 8201;
|
|
||||||
in {
|
|
||||||
# This value determines the NixOS release from which the default
|
# This value determines the NixOS release from which the default
|
||||||
# settings for stateful data, like file locations and database versions
|
# settings for stateful data, like file locations and database versions
|
||||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
# 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).
|
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||||
system.stateVersion = "21.05"; # Did you read the comment?
|
system.stateVersion = "21.05"; # Did you read the comment?
|
||||||
|
|
||||||
# Vault
|
|
||||||
networking.firewall.allowedTCPPorts = [ port clusterPort ];
|
|
||||||
|
|
||||||
# Vault
|
# Vault
|
||||||
services.v.vault = {
|
services.v.vault = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in a new issue