mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2026-04-15 05:39:11 +02:00
feat: add persistent ids to all users/groups
This commit is contained in:
parent
37a8e17cc9
commit
7f65f74fef
62 changed files with 533 additions and 173 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ self, pkgs, lib, config, globals, ... }:
|
||||
{ self, pkgs, lib, config, globals, confLib, ... }:
|
||||
let
|
||||
inherit (config.repo.secrets.common) dnsProvider dnsBase dnsMail;
|
||||
|
||||
|
|
@ -21,7 +21,10 @@ in
|
|||
'';
|
||||
};
|
||||
|
||||
users.groups.acme.members = lib.mkIf config.swarselmodules.server.nginx [ "nginx" ];
|
||||
users = {
|
||||
persistentIds.acme = confLib.mkIds 967;
|
||||
groups.acme.members = lib.mkIf config.swarselmodules.server.nginx [ "nginx" ];
|
||||
};
|
||||
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue