From 413f28edaa53849feda4e87a7625e4516ae39bb5 Mon Sep 17 00:00:00 2001 From: Cottand Date: Sun, 17 Dec 2023 18:46:11 +0000 Subject: [PATCH] chore: version 1.5 --- README.md | 4 +++- config.go | 4 ++-- doc/src/Nix.md | 4 ++-- flake.nix | 2 +- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index ef36041..1db1f8b 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ Forked from [looterz/grimd](https://github.com/looterz/grimd) - [x] Hardcoded whitelist config - [x] Fast startup and tiny image _(so it can be quickly redeployed for use with templating for service discovery)_ - [x] Small memory footprint (~50MBs with metrics and DoH enabled) +- [x] NixOS Flake for easy deployment # Installation @@ -33,7 +34,8 @@ You can also - `docker run -d -p 53:53/udp -p 53:53/tcp -p 8080:8080/tcp ghcr.io/cottand/leng` - use [Docker compose YML](https://raw.githubusercontent.com/cottand/leng/master/docker-compose.yml) - use the [Nix flake](https://github.com/Cottand/leng/tree/master/flake.nix) - - `nix run github:cottand/leng` + - to run: `nix run github:cottand/leng` + - or [add as a NixOS module](https://cottand.github.io/leng/Nix.html) Detailed guides and resources can be found in the [docs website](https://cottand.github.io/leng). diff --git a/config.go b/config.go index b876dee..a79308a 100644 --- a/config.go +++ b/config.go @@ -14,10 +14,10 @@ import ( ) // BuildVersion returns the build version of leng, this should be incremented every new release -var BuildVersion = "1.4.0" +var BuildVersion = "1.5.0" // ConfigVersion returns the version of leng, this should be incremented every time the config changes so leng presents a warning -var ConfigVersion = "1.4.0" +var ConfigVersion = "1.5.0" // Config holds the configuration parameters type Config struct { diff --git a/doc/src/Nix.md b/doc/src/Nix.md index 2cbfa54..3091a11 100644 --- a/doc/src/Nix.md +++ b/doc/src/Nix.md @@ -16,7 +16,7 @@ The leng flake also exports a NixOS module for easy deployment on NixOS machines { inputs = { # pinned version for safety - leng.url = "github:cottand/leng/v1.4.0"; + leng.url = "github:cottand/leng/v1.5.0"; leng.nixpkgs.follows = "nixpkgs"; }; @@ -50,7 +50,7 @@ Add the following inside your configuration.nix: {pkgs, lib, ... }: { imports = [ # import leng module - (builtins.getFlake "github:cottand/leng/1.4.0").nixosModules.default + (builtins.getFlake "github:cottand/leng/1.5.0").nixosModules.default ]; # now you can use services.leng! diff --git a/flake.nix b/flake.nix index 11b63f8..313ee63 100644 --- a/flake.nix +++ b/flake.nix @@ -16,7 +16,7 @@ inherit system; vendorHash = "sha256-5dIZzqaw88lKuh1JHJurRZCPgrNzDHK/53bXKNGQBvQ="; pname = "leng"; - version = "1.4.0"; + version = "1.5.0"; src = ./.; }; default = leng;