Assign some static UIDs, because it's very annoying when they change

This commit is contained in:
Charlotte Van Petegem 2021-07-12 12:51:23 +02:00
parent 527ded9fa1
commit 61fd12b521
No known key found for this signature in database
GPG key ID: 019E764B7184435A
3 changed files with 15 additions and 3 deletions

View file

@ -90,6 +90,10 @@
})
config.chvp.services.nginx.hosts);
};
users.users.nginx.extraGroups = [ "acme" ];
users.users = {
nginx.extraGroups = [ "acme" ];
acme.uid = 999;
};
users.groups.acme.gid = 999;
};
}