Skip to content

Instantly share code, notes, and snippets.

@kvz
Last active September 20, 2016 09:00
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save kvz/a68e2f2c1e86dded9c484ed3c1a15025 to your computer and use it in GitHub Desktop.
{config, pkgs, ...}:
let
unstable_pkgs = import (pkgs.fetchFromGitHub {
owner = "NixOS";
repo = "nixpkgs";
rev = "a20a20f1363246000307e6dfeaf16d49daa4e06a";
sha256 = "06n770ia7s8wj7niisf9sazgq4g4q1sw5f8ah65h56k67dpdnpfq";
}) {};
in
{
nixpkgs.config.packageOverrides = pkgs: rec {
consul-ui = unstable_pkgs.consul-ui;
consul-alerts = unstable_pkgs.consul-alerts;
consul-template = unstable_pkgs.consul-template;
consul = unstable_pkgs.consul;
};
environment.systemPackages = with pkgs; [
consul-ui
consul-alerts
consul-template
consul
];
# more config ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment