liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 2f9b0f12f991452a935f05800be59a6a0753ff84
parent 9fd9b8b8784d76bf3c4459a3a946a7ef2e03e4ca
Author: Daniel Barlow <dan@telent.net>
Date:   Sun,  5 Jan 2025 12:57:51 +0000

switch uid

Diffstat:
Mexamples/module-https-proxy.nix | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/examples/module-https-proxy.nix b/examples/module-https-proxy.nix @@ -21,15 +21,16 @@ let inherit (pkgs.liminix.services) longrun; inherit (pkgs) writeText; + nginx_uid = 62; in { config = { users.nginx = { - uid = 52; gid= 52; + uid = nginx_uid; gid= nginx_uid; dir = "/run/"; shell = "/bin/false"; }; groups.nginx = { - gid= 52; + gid= nginx_uid; usernames = ["nginx"]; };