64 Commits

Author SHA1 Message Date
Aarnav Tale
361bc493c0
chore: pin vitepress to 2.0.0 and add sponsor link 2025-08-18 13:28:16 -04:00
Igor Ramazanov
c98dc5ed1d feat: nix: docs: improve NixOS docs generations 2025-08-18 13:10:38 -04:00
Igor Ramazanov
9192013bfe feat: documentation website using Vitepress
Adds documentation website using https://vitepress.dev.

Some decisions are questionable, for example creation of a symbolic link
for the README in the `docs/`. I wanted to preserve the ability to read
docs using Github. Maybe not needed.

Another issue, is the page outline for the `NixOS` chapter is too
narrow.

But should serve as a scaffold/basis for doing it properly.
2025-08-18 13:10:38 -04:00
Igor Ramazanov
fdbfe584c5 feat: nix: add a new mise task and nix flake output to generate NixOS docs
Adds a new Nix flake output `headplane-nixos-docs` which generates a
Markdown page with all NixOS `services.headplane.settings.*` options.

Replaces existing handwritten options documentation.
2025-08-18 13:10:38 -04:00
StealthBadger747
441e31690b Cleanup doc and set sane defaults 2025-08-05 13:16:02 -04:00
Erik Parawell
7f952bcb3b Nix changes 2025-08-05 13:16:02 -04:00
StealthBadger747
5ab9686460 Update the configuration README
Revert flake.nix and package.nix to main; drop wasm.nix
2025-08-05 13:15:03 -04:00
Aarnav Tale
5a254b746b
docs: enforce node lts 22.16 which has sqlite support unflagged 2025-06-24 10:39:51 -04:00
Aarnav Tale
f9751f5ab2
chore: add tooling for go wasm 2025-06-16 11:45:23 -04:00
Aarnav Tale
ffce20e88a chore: update docs to match 0.26+ criteria 2025-05-25 11:02:19 -04:00
Aarnav Tale
b1da29b2fb chore: use single string docker labels 2025-05-25 11:02:19 -04:00
Aarnav Tale
f4da4c6428 chore: update docs 2025-05-25 11:02:19 -04:00
Aarnav Tale
ae0aadd83f chore: fix nix hash and docs version 2025-05-25 11:02:19 -04:00
Aarnav Tale
3a5ab68432
chore: defer the path based config loading till 0.6.1. (#223) 2025-05-23 10:46:14 -04:00
Erik Parawell
91fcf5233e Rework the documentation to reflect the whitelist approach 2025-05-19 16:38:35 -04:00
Erik Parawell
8ea8c7195f Implement path-based secret loading 2025-05-19 16:38:35 -04:00
George Ntoutsos
faa61b0f1d
feat: add filtering by container label for Docker integration (#194) 2025-04-24 19:03:33 -04:00
Federico Cerutti
b86f4461c0
feat: restart with headscale, update server.js path in systemd example (#184) 2025-04-10 09:08:43 -04:00
Aarnav Tale
77b510c927
docs: oops 2025-04-05 13:14:00 -04:00
Aarnav Tale
524c5eb639
docs: docker version tags had an extra char 2025-04-05 11:58:32 -04:00
Aarnav Tale
2894c664d3
docs: fix tag typo 2025-04-05 11:56:59 -04:00
Aarnav Tale
fe2d7cb57a
chore: v0.5.10 2025-04-03 23:44:19 -04:00
Aarnav Tale
66c7d9a327
chore: v0.5.9 2025-04-03 23:24:13 -04:00
Aarnav Tale
69c6fc4847
chore: v0.5.8 2025-04-03 13:11:33 -04:00
Aarnav Tale
090dec1ca6
chore: update docs 2025-04-02 17:03:58 -04:00
Aarnav Tale
8429b19c4a
docs: use git tags for bare metal 2025-03-29 14:10:46 -04:00
Aarnav Tale
03acebb23e fix: env variables did not resolve in prod 2025-03-24 16:15:38 -04:00
Aarnav Tale
5675ecdeac
chore: add 'community' things 2025-03-18 01:32:05 -04:00
Igor Ramazanov
03a7e51384
feat: add a nix flake (#132)
* feat: wip `nix`

Add initial code to be used when working with `nix` and `NixOS`.

* a Nix flake
* building a package
* a NixOS module

* feat: build `hp_agent` with `nix`

* feat: add `hp_agent` as a flake output

* feat: nix: start `headplane` after `headscale`

* feat: do not rely on `git` for versioning

It causes lots of pain when building with `nix` for a local `flake.nix`.

Not sure if it's a good general solution:
* now it requires a manual step of updating `./version` on each release.
* we're losing commit hash abbreviation, like `0.5.3-5-gbe5a291`

I guess, this can be fixed by installing git-pre-commit-hook, but even
then it'd be wrong, because the output of `git describe --tags --always`
won't be the same before and after commit.

* feat: include `hp_agent` to the NixOS module

* fix: version error message

* fix: use relative path imports in `nix`

* fix: NixOS module: generate `/etc/headplane/config.yaml` from `services.headplane.settings`

* fix: NixOS module: allow passing `bool` in `services.headplane.settings.*`

* fix: NixOS module: fix `/etc/headplane/config.yaml` generation

* docs: add Nix/NixOS docs

* feat: nix: read version from `package.json`

* fix: nix: fix `agent` env vars configuration

* feat: nix: add `services.headplane.agent.debug` option

* fix: delete unnecessary `version` file

* fix: nix: remove unnecessary `sed` substitutions

A left over from previous versions.
See: https://github.com/tale/headplane/issues/95#issue-2807487849

* feat: nix: do not hardcode `headplane-agent` configuration environment variables

To make the module more flexible and to reduce the dependency on the
config API.

* docs: improve `Nix` documentation

* Reflect recent changes.
* Link `Nix` in README

* feat: nix: setup Nix CI

* feat: nix: CI without depending on flakehub.com

* chore: begin bundling all deps into the server

* fix: loosen headscale config validation

* fix: navigate back to machines page on node deletion

* fix: slice off trailing slash if present on headscale url

* feat: switch to a central singleton handler

This also adds support for Headscale TLS installations

* fix: shamefully-hoist dependencies

* fix: handle localized number fields

* fix: revert dependency bundling for now

* chore: cleanup and remove from readme for now

---------

Co-authored-by: Aarnav Tale <aarnavtale@icloud.com>
2025-03-18 00:31:37 -04:00
Aarnav Tale
134b38ceda
chore: update agent var scheme 2025-03-11 22:39:05 -04:00
Steve Wills
983356611e
docs: fix mistake in env docs (#119) 2025-03-03 14:32:05 -05:00
nerdlich
762bc6a793
fix: cosmetic docs/config fixes (#112)
* fix config path

* fix typo
2025-03-01 10:30:15 -05:00
Aarnav Tale
5b716ab5ce
chore: update docs to reflect 0.5.1 2025-02-28 12:22:20 -05:00
Aarnav Tale
30a1153fa5
docs: cleanup integrated docker formatting 2025-02-27 15:33:06 -05:00
Aarnav Tale
870680b6c5
docs: redo docs 2025-02-27 15:31:16 -05:00
Leo Wilkin
06049169a2
chore(docs): Fix broken link to Linux setup on Headscale docs! (#107)
* Update Headscale install link

* Update Native.md
2025-02-19 13:06:08 -05:00
Aarnav Tale
5569ba4660
feat: rework oidc to be more resilient
This includes setting a custom redirect URI, handling errors, and using a better library.
As an API decision I've also disabled per session API keys as it clutters up too much.
2025-01-10 13:55:24 +05:30
Aarnav Tale
240d8d6197
chore: v0.3.9 2024-12-06 19:30:12 -05:00
Aarnav Tale
69cc6985b4
chore: v0.3.8 2024-12-06 19:07:36 -05:00
Aarnav Tale
e713dae91b
fix: validate and respect oidc validation settings 2024-12-06 19:05:07 -05:00
Aarnav Tale
33762e53b5
chore: document the /admin endpoint 2024-12-05 02:07:28 -05:00
Aarnav Tale
8867cca494
chore: use 0.3.7 in examples 2024-11-30 15:42:33 -05:00
Aarnav Tale
712fc28683
feat: allow a public headscale URL separate from the main one 2024-11-30 15:33:58 -05:00
Aarnav Tale
da0ee1382b
feat: allow setting OIDC_CLIENT_SECRET_METHOD 2024-11-30 15:00:51 -05:00
Aarnav Tale
9d9cbd8e0e
chore: v0.3.5 2024-11-08 12:05:33 -05:00
Aarnav Tale
1d6472765a
docs: better explain the native integration 2024-11-06 15:18:21 -05:00
Aarnav Tale
447a31f91e
chore: v0.3.2 2024-10-11 03:09:56 -04:00
Aarnav Tale
98d1cb1333
docs: mention 0.3.1 as the latest 2024-10-03 15:36:20 -04:00
Aarnav Tale
65cc278a59
docs(TALE-33): document debug 2024-10-03 15:30:24 -04:00
Aarnav Tale
4095ed2a68
docs: version the docker images 2024-09-25 16:26:19 -04:00