cottand / leng

:zap: fast dns server, built to block advertisements and malware servers
https://cottand.github.io/leng/
MIT License
64 stars 68 forks source link

Legacy NixOS installation #47

Closed nis closed 11 months ago

nis commented 11 months ago

I'm quite new to Nix, so this might be me doing something wrong.

This line: (builtins.getFlake "github:cottand/leng/1.5.0").nixosModules.default

Gave me an error: ` error: unable to download 'https://api.github.com/repos/cottand/leng/commits/1.5.0': HTTP error 422

   response body:

   {
     "message": "No commit found for SHA: 1.5.0",
     "documentation_url": "https://docs.github.com/rest/commits/commits#get-a-commit"
   }

`

If I change the import to v1.5.0 instead of 1.5.0: (builtins.getFlake "github:cottand/leng/v1.5.0").nixosModules.default I can install it and it seems to be running.

cottand commented 11 months ago

hey @nis , thanks for catching that typo! You are correct, and I updated the docs accordingly now