nixos: improve systemd slice names (#345990)

This commit is contained in:
h7x4 2024-10-04 12:08:36 +02:00 committed by GitHub
commit d783411040
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 8 additions and 8 deletions

View file

@ -125,7 +125,7 @@ in
}; };
systemd.slices.isolate = { systemd.slices.isolate = {
description = "Isolate sandbox slice"; description = "Isolate Sandbox Slice";
}; };
meta.maintainers = with maintainers; [ virchau13 ]; meta.maintainers = with maintainers; [ virchau13 ];

View file

@ -657,7 +657,7 @@ in {
config = mkIf (fd_cfg.enable || sd_cfg.enable || dir_cfg.enable) { config = mkIf (fd_cfg.enable || sd_cfg.enable || dir_cfg.enable) {
systemd.slices.system-bacula = { systemd.slices.system-bacula = {
description = "Bacula Slice"; description = "Bacula Backup System Slice";
documentation = [ "man:bacula(8)" "https://www.bacula.org/" ]; documentation = [ "man:bacula(8)" "https://www.bacula.org/" ];
}; };

View file

@ -311,7 +311,7 @@ in
]; ];
systemd.slices.system-hydra = { systemd.slices.system-hydra = {
description = "Hydra Slice"; description = "Hydra CI Server Slice";
documentation = [ "file://${cfg.package}/share/doc/hydra/index.html" "https://nixos.org/hydra/manual/" ]; documentation = [ "file://${cfg.package}/share/doc/hydra/index.html" "https://nixos.org/hydra/manual/" ];
}; };

View file

@ -234,7 +234,7 @@ in
services.redis.servers.paperless.enable = mkIf enableRedis true; services.redis.servers.paperless.enable = mkIf enableRedis true;
systemd.slices.system-paperless = { systemd.slices.system-paperless = {
description = "Paperless slice"; description = "Paperless Document Management System Slice";
documentation = [ "https://docs.paperless-ngx.com" ]; documentation = [ "https://docs.paperless-ngx.com" ];
}; };

View file

@ -86,7 +86,7 @@ in {
systemd.slices.system-rustdesk = { systemd.slices.system-rustdesk = {
enable = true; enable = true;
description = "Slice designed to contain RustDesk Signal & RustDesk Relay"; description = "RustDesk Remote Desktop Slice";
}; };
systemd.targets.rustdesk = { systemd.targets.rustdesk = {

View file

@ -179,7 +179,7 @@ in
systemd = { systemd = {
slices.system-samba = { slices.system-samba = {
description = "Samba slice"; description = "Samba (SMB Networking Protocol) Slice";
}; };
targets.samba = { targets.samba = {
description = "Samba Server"; description = "Samba Server";

View file

@ -165,7 +165,7 @@ in
environment.etc."clamav/clamd.conf".source = clamdConfigFile; environment.etc."clamav/clamd.conf".source = clamdConfigFile;
systemd.slices.system-clamav = { systemd.slices.system-clamav = {
description = "ClamAV slice"; description = "ClamAV Antivirus Slice";
}; };
systemd.services.clamav-daemon = mkIf cfg.daemon.enable { systemd.services.clamav-daemon = mkIf cfg.daemon.enable {

View file

@ -240,7 +240,7 @@ in {
}; };
systemd.slices.system-phpfpm = { systemd.slices.system-phpfpm = {
description = "PHP FastCGI Process manager pools slice"; description = "PHP FastCGI Process Manager Slice";
}; };
systemd.targets.phpfpm = { systemd.targets.phpfpm = {