aboutsummaryrefslogtreecommitdiffstats
path: root/modules/vhack/co/constants
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/vhack/co/constants/module.nix (renamed from modules/by-name/co/constants/module.nix)41
1 files changed, 37 insertions, 4 deletions
diff --git a/modules/by-name/co/constants/module.nix b/modules/vhack/co/constants/module.nix
index d601e70..9de2bce 100644
--- a/modules/by-name/co/constants/module.nix
+++ b/modules/vhack/co/constants/module.nix
@@ -25,6 +25,7 @@
config.vhack.constants = {
ids.uids = {
# Keep this sorted with `!sort --numeric-sort --key=2 --field-separator="="`
+ systemd-coredump = 151; # GROUP
opendkim = 221;
mautrix-whatsapp = 222;
etebase-server = 223;
@@ -43,27 +44,50 @@
nscd = 330;
sshd = 331;
systemd-oom = 332;
+ resolvconf = 333; # GROUP
nix-sync = 334;
+ nextcloud = 335;
+ redis-nextcloud = 336;
+ taskchampion = 337;
+ stalwart-mail-certificates = 338; # GROUP
+ sharkey = 339;
+ redis-sharkey = 340;
+ grocy = 341;
+ anubis = 342;
+ postfix-tlspol = 343;
+ rocie = 344;
+ fluent-bit = 345;
+ loki = 346;
+ grafana = 347;
+ node-exporter = 348;
+ smartctl-exporter-access = 349;
+ fail2ban = 350;
# As per the NixOS file, the uids should not be greater or equal to 400;
};
ids.gids = let
inherit (config.vhack.constants.ids) uids;
in {
+ # Please add your groups to the users and inherit them here.
+ # This avoids having an user/group id mismatch.
inherit
(uids)
acme
+ anubis
dhcpcd
etebase-server
knot-resolver
mastodon
matrix-synapse
mautrix-whatsapp
+ nextcloud
nix-sync
nscd
opendkim
peertube
+ postfix-tlspol
redis-mastodon
+ redis-nextcloud
redis-peertube
redis-rspamd
redis-stalwart-mail
@@ -71,12 +95,21 @@
sshd
stalwart-mail
systemd-oom
+ sharkey
+ redis-sharkey
+ grocy
+ systemd-coredump # matches systemd-coredump user
+ resolvconf # This group is not matched to an user?
+ stalwart-mail-certificates # This group is used to connect nginx and stalwart-mail
+ rocie
+ fluent-bit
+ loki
+ grafana
+ node-exporter
+ smartctl-exporter-access
+ fail2ban
;
- # Keep this sorted with `!sort --numeric-sort --key=2 --field-separator="="`
- systemd-coredump = 151; # matches systemd-coredump user
- resolvconf = 333; # This group is not matched to an user?
-
# The gid should match the uid. Thus should not be >= 400;
};
};