mirror of
https://github.com/juanfont/headscale.git
synced 2026-11-19 11:57:07 +09:00
nix: build the module on the generated options
settings mirrors headscale's keys one to one, headscale's checks judge the rest, and the local CLI gets the socket from a variable instead of a file. headscale always runs as headscale:headscale, which the module creates; user and group are read-only, so setting either fails evaluation, and stay only because nixpkgs' headplane module reads them. A settings.cli key fails evaluation instead of being dropped with a warning, and the unit no longer gets CAP_CHOWN. nix/example-configuration.nix goes: the options carry its examples and defaults. Updates #1926
This commit is contained in:
1 parent
cf8362e1a9
commit
3a35f74873
17 files changed
+1175
-949
No files matched your search
@@ -73,3 +73,12 @@ jobs:
|
||||
- uses: Mic92/hestia@dfed9ced335d28978ba74e513939a10db1f71025 # v3.1.0
|
||||
- name: nixos-options
|
||||
run: nix build -L .#checks.x86_64-linux.nixos-options
|
||||
|
||||
nixos-module:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
- uses: NixOS/nix-installer-action@62c1943b776c509394b550f3f983adc14e9212d6 # main
|
||||
- uses: Mic92/hestia@dfed9ced335d28978ba74e513939a10db1f71025 # v3.1.0
|
||||
- name: nixos-module
|
||||
run: nix build -L .#checks.x86_64-linux.nixos-module
|
||||
Reference in new issue
Block a user