treewide: add documentation for nixos systemd units

This commit is contained in:
h7x4 2025-03-12 17:59:34 +01:00
parent aaac00e726
commit ab0564bd10
No known key found for this signature in database
GPG key ID: 9F2F7D8250F35146
29 changed files with 60 additions and 1 deletions

View file

@ -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"

View file

@ -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";