fixed up vault config

This commit is contained in:
Vivian 2022-09-29 20:52:21 +02:00
parent c805f4fb69
commit 7eb07ac622
2 changed files with 2 additions and 14 deletions

View file

@ -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. Its perfectly fine and recommended to leave

View file

@ -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. Its 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;