try to fix slices

This commit is contained in:
Inex Code 2024-07-27 03:26:10 +03:00
parent 63455c20c2
commit 852ba195e0
2 changed files with 11 additions and 11 deletions

View file

@ -42,11 +42,11 @@ in
};
systemd = {
services = {
jicofo.serviceConfig.Slice = "jitsi-meet.slice";
jitsi-videobridge2.serviceConfig.Slice = "jitsi-meet.slice";
prosody.serviceConfig.Slice = "jitsi-meet.slice";
jicofo.serviceConfig.Slice = "jitsi_meet.slice";
jitsi-videobridge2.serviceConfig.Slice = "jitsi_meet.slice";
prosody.serviceConfig.Slice = "jitsi_meet.slice";
};
slices.jitsi-meet = {
slices.jitsi_meet = {
description = "Jitsi Meet service slice";
};
};

View file

@ -92,14 +92,14 @@ lib.mkIf sp.modules.simple-nixos-mailserver.enable
systemd = {
services = {
dovecot2.serviceConfig.Slice = "simple-nixos-mailserver.slice";
postfix.serviceConfig.Slice = "simple-nixos-mailserver.slice";
rspamd.serviceConfig.Slice = "simple-nixos-mailserver.slice";
redis-rspamd.serviceConfig.Slice = "simple-nixos-mailserver.slice";
opendkim.serviceConfig.Slice = "simple-nixos-mailserver.slice";
dovecot2.serviceConfig.Slice = "simple_nixos_mailserver.slice";
postfix.serviceConfig.Slice = "simple_nixos_mailserver.slice";
rspamd.serviceConfig.Slice = "simple_nixos_mailserver.slice";
redis-rspamd.serviceConfig.Slice = "simple_nixos_mailserver.slice";
opendkim.serviceConfig.Slice = "simple_nixos_mailserver.slice";
};
slices."simple-nixos-mailserver" = {
name = "simple-nixos-mailserver.slice";
slices."simple_nixos_mailserver" = {
name = "simple_nixos_mailserver.slice";
description = "Simple NixOS Mailserver service slice";
};
};