Add/fix systemd unit descriptions
This commit is contained in:
parent
3bbbd62cbc
commit
5685ee5446
@ -236,7 +236,9 @@ in
|
|||||||
];
|
];
|
||||||
|
|
||||||
jobs.firewall =
|
jobs.firewall =
|
||||||
{ startOn = "started network-interfaces";
|
{ description = "Firewall";
|
||||||
|
|
||||||
|
startOn = "started network-interfaces";
|
||||||
|
|
||||||
path = [ pkgs.iptables ];
|
path = [ pkgs.iptables ];
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
jobs.ntpd =
|
jobs.ntpd =
|
||||||
{ description = "NTP daemon";
|
{ description = "NTP Daemon";
|
||||||
|
|
||||||
wantedBy = [ "ip-up.target" ];
|
wantedBy = [ "ip-up.target" ];
|
||||||
partOf = [ "ip-up.target" ];
|
partOf = [ "ip-up.target" ];
|
||||||
|
@ -118,7 +118,7 @@ in
|
|||||||
boot.blacklistedKernelModules = [ "usblp" ];
|
boot.blacklistedKernelModules = [ "usblp" ];
|
||||||
|
|
||||||
jobs.cupsd =
|
jobs.cupsd =
|
||||||
{ description = "CUPS printing daemon";
|
{ description = "CUPS Printing Daemon";
|
||||||
|
|
||||||
startOn = "started network-interfaces";
|
startOn = "started network-interfaces";
|
||||||
stopOn = "stopping network-interfaces";
|
stopOn = "stopping network-interfaces";
|
||||||
|
@ -64,7 +64,7 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
jobs.atd =
|
jobs.atd =
|
||||||
{ description = "at daemon (atd)";
|
{ description = "Job Execution Daemon (atd)";
|
||||||
|
|
||||||
startOn = "stopped udevtrigger";
|
startOn = "stopped udevtrigger";
|
||||||
|
|
||||||
|
@ -86,7 +86,7 @@ in
|
|||||||
environment.systemPackages = [ cronNixosPkg ];
|
environment.systemPackages = [ cronNixosPkg ];
|
||||||
|
|
||||||
jobs.cron =
|
jobs.cron =
|
||||||
{ description = "Cron daemon";
|
{ description = "Cron Daemon";
|
||||||
|
|
||||||
startOn = "startup";
|
startOn = "startup";
|
||||||
|
|
||||||
|
@ -389,7 +389,9 @@ in
|
|||||||
boot.systemd.defaultUnit = mkIf cfg.autorun "graphical.target";
|
boot.systemd.defaultUnit = mkIf cfg.autorun "graphical.target";
|
||||||
|
|
||||||
boot.systemd.services."display-manager" =
|
boot.systemd.services."display-manager" =
|
||||||
{ after = [ "systemd-udev-settle.service" "local-fs.target" ];
|
{ description = "X11 Server";
|
||||||
|
|
||||||
|
after = [ "systemd-udev-settle.service" "local-fs.target" ];
|
||||||
|
|
||||||
restartIfChanged = false;
|
restartIfChanged = false;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user