From ceddf600a1f4b5f7a774fb607fa537d24da25492 Mon Sep 17 00:00:00 2001 From: sstent Date: Sun, 19 Nov 2023 22:21:35 +0000 Subject: [PATCH] finish nomad, add consul, sops --- modules/consul.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/modules/consul.nix b/modules/consul.nix index 48426cf..9632497 100644 --- a/modules/consul.nix +++ b/modules/consul.nix @@ -6,11 +6,21 @@ ... }: let secretstore = config._secretstore; + + pkgs = import (builtins.fetchGit { + # Descriptive name to make the store path easier to identify + name = "my-old-revision"; + url = "https://github.com/NixOS/nixpkgs/"; + ref = "refs/heads/nixpkgs-unstable"; + rev = "3b05df1d13c1b315cecc610a2f3180f6669442f0"; + }) {}; + + myPkg = pkgs.consul; in { # virtualisation.docker.enable = true; sops.secrets.consul_encrypt = {}; services.consul = { - package = pkgs.consul_1_9; + package = myPkg; enable = true; webUi = true; extraConfig = {