nixos: improve systemd slice names
Following https://www.freedesktop.org/software/systemd/man/latest/systemd.unit.html#Description=, update slice names to be short, descriptive and capitalized.
This commit is contained in:
parent
c7a05e7635
commit
48908e5b86
@ -125,7 +125,7 @@ in
|
||||
};
|
||||
|
||||
systemd.slices.isolate = {
|
||||
description = "Isolate sandbox slice";
|
||||
description = "Isolate Sandbox Slice";
|
||||
};
|
||||
|
||||
meta.maintainers = with maintainers; [ virchau13 ];
|
||||
|
@ -657,7 +657,7 @@ in {
|
||||
|
||||
config = mkIf (fd_cfg.enable || sd_cfg.enable || dir_cfg.enable) {
|
||||
systemd.slices.system-bacula = {
|
||||
description = "Bacula Slice";
|
||||
description = "Bacula Backup System Slice";
|
||||
documentation = [ "man:bacula(8)" "https://www.bacula.org/" ];
|
||||
};
|
||||
|
||||
|
@ -311,7 +311,7 @@ in
|
||||
];
|
||||
|
||||
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/" ];
|
||||
};
|
||||
|
||||
|
@ -234,7 +234,7 @@ in
|
||||
services.redis.servers.paperless.enable = mkIf enableRedis true;
|
||||
|
||||
systemd.slices.system-paperless = {
|
||||
description = "Paperless slice";
|
||||
description = "Paperless Document Management System Slice";
|
||||
documentation = [ "https://docs.paperless-ngx.com" ];
|
||||
};
|
||||
|
||||
|
@ -86,7 +86,7 @@ in {
|
||||
|
||||
systemd.slices.system-rustdesk = {
|
||||
enable = true;
|
||||
description = "Slice designed to contain RustDesk Signal & RustDesk Relay";
|
||||
description = "RustDesk Remote Desktop Slice";
|
||||
};
|
||||
|
||||
systemd.targets.rustdesk = {
|
||||
|
@ -179,7 +179,7 @@ in
|
||||
|
||||
systemd = {
|
||||
slices.system-samba = {
|
||||
description = "Samba slice";
|
||||
description = "Samba (SMB Networking Protocol) Slice";
|
||||
};
|
||||
targets.samba = {
|
||||
description = "Samba Server";
|
||||
|
@ -165,7 +165,7 @@ in
|
||||
environment.etc."clamav/clamd.conf".source = clamdConfigFile;
|
||||
|
||||
systemd.slices.system-clamav = {
|
||||
description = "ClamAV slice";
|
||||
description = "ClamAV Antivirus Slice";
|
||||
};
|
||||
|
||||
systemd.services.clamav-daemon = mkIf cfg.daemon.enable {
|
||||
|
@ -240,7 +240,7 @@ in {
|
||||
};
|
||||
|
||||
systemd.slices.system-phpfpm = {
|
||||
description = "PHP FastCGI Process manager pools slice";
|
||||
description = "PHP FastCGI Process Manager Slice";
|
||||
};
|
||||
|
||||
systemd.targets.phpfpm = {
|
||||
|
Loading…
Reference in New Issue
Block a user