From 852ba195e032f21e2e294f6c088896d1d6e773f5 Mon Sep 17 00:00:00 2001 From: Inex Code Date: Sat, 27 Jul 2024 03:26:10 +0300 Subject: [PATCH] try to fix slices --- sp-modules/jitsi-meet/module.nix | 8 ++++---- sp-modules/simple-nixos-mailserver/config.nix | 14 +++++++------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/sp-modules/jitsi-meet/module.nix b/sp-modules/jitsi-meet/module.nix index 2954226..09c6699 100644 --- a/sp-modules/jitsi-meet/module.nix +++ b/sp-modules/jitsi-meet/module.nix @@ -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"; }; }; diff --git a/sp-modules/simple-nixos-mailserver/config.nix b/sp-modules/simple-nixos-mailserver/config.nix index 87a3ad5..a969f36 100644 --- a/sp-modules/simple-nixos-mailserver/config.nix +++ b/sp-modules/simple-nixos-mailserver/config.nix @@ -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"; }; };