From 8c93543a4b7068970cfa121f5a8e2b9ba7cbb2a6 Mon Sep 17 00:00:00 2001 From: sstent Date: Sun, 19 Nov 2023 22:40:07 +0000 Subject: [PATCH] finish nomad, add consul, sops --- modules/consul.nix | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/modules/consul.nix b/modules/consul.nix index 721d8a9..573aa16 100644 --- a/modules/consul.nix +++ b/modules/consul.nix @@ -7,16 +7,17 @@ }: let secretstore = config._secretstore; - oldpkgs = import (builtins.fetchGit { - # Descriptive name to make the store path easier to identify - name = "git_consul_1_9"; - url = "https://github.com/NixOS/nixpkgs/"; - ref = "refs/heads/nixpkgs-unstable"; - rev = "3b05df1d13c1b315cecc610a2f3180f6669442f0"; - }) {}; - # oldpkgs = import (builtins.fetchTarball { - # url = "https://github.com/NixOS/nixpkgs/archive/3b05df1d13c1b315cecc610a2f3180f6669442f0.tar.gz"; + # oldpkgs = import (builtins.fetchGit { + # # Descriptive name to make the store path easier to identify + # name = "git_consul_1_9"; + # url = "https://github.com/NixOS/nixpkgs/"; + # ref = "refs/heads/nixpkgs-unstable"; + # rev = "3b05df1d13c1b315cecc610a2f3180f6669442f0"; # }) {}; + oldpkgs = import (builtins.fetchTarball { + url = "https://github.com/NixOS/nixpkgs/archive/3b05df1d13c1b315cecc610a2f3180f6669442f0.tar.gz"; + sha256 = "c704ef4a056c53db1a57bca7def48e4d9ed16418c81398488a6071833c10668c"; + }) {}; myPkg = oldpkgs.consul; in {