mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 03:34:58 +00:00
nixos/headscale: install package system wide
this is required to confirm nodes and generally manage everything
This commit is contained in:
parent
5e05ea57fb
commit
9f395dae71
@ -444,10 +444,14 @@ in {
|
|||||||
tls_letsencrypt_cache_dir = "${dataDir}/.cache";
|
tls_letsencrypt_cache_dir = "${dataDir}/.cache";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Setup the headscale configuration in a known path in /etc to
|
environment = {
|
||||||
# allow both the Server and the Client use it to find the socket
|
# Setup the headscale configuration in a known path in /etc to
|
||||||
# for communication.
|
# allow both the Server and the Client use it to find the socket
|
||||||
environment.etc."headscale/config.yaml".source = configFile;
|
# for communication.
|
||||||
|
etc."headscale/config.yaml".source = configFile;
|
||||||
|
|
||||||
|
systemPackages = [ cfg.package ];
|
||||||
|
};
|
||||||
|
|
||||||
users.groups.headscale = mkIf (cfg.group == "headscale") {};
|
users.groups.headscale = mkIf (cfg.group == "headscale") {};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user