From 2f9b0f12f991452a935f05800be59a6a0753ff84 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Sun, 5 Jan 2025 12:57:51 +0000 Subject: [PATCH] switch uid --- examples/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 index 0e37bd0..3624bad 100644 --- 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"]; };