mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
Add/fix systemd unit descriptions
This commit is contained in:
parent
3bbbd62cbc
commit
5685ee5446
@ -236,7 +236,9 @@ in
|
||||
];
|
||||
|
||||
jobs.firewall =
|
||||
{ startOn = "started network-interfaces";
|
||||
{ description = "Firewall";
|
||||
|
||||
startOn = "started network-interfaces";
|
||||
|
||||
path = [ pkgs.iptables ];
|
||||
|
||||
|
@ -66,7 +66,7 @@ in
|
||||
};
|
||||
|
||||
jobs.ntpd =
|
||||
{ description = "NTP daemon";
|
||||
{ description = "NTP Daemon";
|
||||
|
||||
wantedBy = [ "ip-up.target" ];
|
||||
partOf = [ "ip-up.target" ];
|
||||
|
@ -118,7 +118,7 @@ in
|
||||
boot.blacklistedKernelModules = [ "usblp" ];
|
||||
|
||||
jobs.cupsd =
|
||||
{ description = "CUPS printing daemon";
|
||||
{ description = "CUPS Printing Daemon";
|
||||
|
||||
startOn = "started network-interfaces";
|
||||
stopOn = "stopping network-interfaces";
|
||||
|
@ -64,7 +64,7 @@ in
|
||||
};
|
||||
|
||||
jobs.atd =
|
||||
{ description = "at daemon (atd)";
|
||||
{ description = "Job Execution Daemon (atd)";
|
||||
|
||||
startOn = "stopped udevtrigger";
|
||||
|
||||
|
@ -86,7 +86,7 @@ in
|
||||
environment.systemPackages = [ cronNixosPkg ];
|
||||
|
||||
jobs.cron =
|
||||
{ description = "Cron daemon";
|
||||
{ description = "Cron Daemon";
|
||||
|
||||
startOn = "startup";
|
||||
|
||||
|
@ -389,7 +389,9 @@ in
|
||||
boot.systemd.defaultUnit = mkIf cfg.autorun "graphical.target";
|
||||
|
||||
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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user