mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
treewide: add documentation for nixos systemd units
This commit is contained in:
parent
aaac00e726
commit
ab0564bd10
29 changed files with 60 additions and 1 deletions
|
@ -166,6 +166,7 @@ in
|
|||
in
|
||||
nameValuePair "btrfs-scrub-${fs'}" {
|
||||
description = "btrfs scrub on ${fs}";
|
||||
documentation = [ "man:btrfs-scrub(8)" ];
|
||||
# scrub prevents suspend2ram or proper shutdown
|
||||
conflicts = [
|
||||
"shutdown.target"
|
||||
|
|
|
@ -51,6 +51,7 @@ in
|
|||
config = mkIf (cfg.enable) {
|
||||
systemd.services = {
|
||||
powertop = {
|
||||
documentation = [ "man:powertop(8)" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
after = [ "multi-user.target" ];
|
||||
description = "Powertop tunings";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue