Commit Graph

8 Commits

Author SHA1 Message Date
Kristoffer Dalby ac5ad42474 Fix integration nix 2022-03-18 08:24:21 +00:00
Kristoffer Dalby 6d41279781 Upgrade to go 1.18 2022-03-17 18:07:26 +00:00
Kristoffer Dalby 1e7d7e510e Update go sha for flake 2022-03-08 17:17:02 +00:00
Kristoffer Dalby 06d85688fd set version based on git rev 2022-03-08 17:07:25 +00:00
Kristoffer Dalby c24de595f6 Add example commands for docker 2022-03-07 17:41:16 +00:00
Kristoffer Dalby 63641a7b17 Correct pkgs call 2022-03-07 17:37:53 +00:00
Kristoffer Dalby a6570d33a6 Add option to build docker image
This commit adds dockerbuild to flakes.nix:

```
nix build .#headscale-docker
```

This uses the Nix infra to build and _does not_ use Dockerfile.

It currently works on Linux (no macOS)
2022-03-07 17:18:41 +00:00
Kristoffer Dalby 5de9de14a9 Add flake build file
This commit adds a flake.nix build file, it can be used for three
things:

Build `headscale` from local or straight from git:

nix build
or
nix build github:juanfont/headscale

Run and Build `headscale` from local or straight from git:

nix run
or
nix run github:juanfont/headscale

Set up a development environment including all our tools,
- linters
- protobuf tooling
- compilers

nix develop
2022-03-07 16:51:38 +00:00