Commit Graph

10 Commits

Author SHA1 Message Date
Adam C. Stephens
e8595bd325 autosuspend: add adamcstephens to maintainers 2026-07-02 09:44:32 -04:00
Adam C. Stephens
9e2ac93267 autosuspend: 10.1.0 -> 11.3.0
Changelog: https://github.com/languitar/autosuspend/releases/tag/v11.3.0
2026-07-02 09:44:32 -04:00
Anthony Roussel
bb08d48579 nixos/autosuspend: assert at least one check is configured
Otherwise autosuspend will fail at startup.
2026-02-16 00:10:01 +01:00
Anthony Roussel
7521b2779b nixos/autosuspend: add iputils Ping check dependency
Add missing `iputils` dependency for the Ping check.
2026-02-16 00:10:01 +01:00
Anthony Roussel
6bf4d7361b autosuspend: 9.0.1 -> 10.0.0
Notable upstream changes:
* The presuspend SystemD unit has been removed

Diff: https://github.com/languitar/autosuspend/compare/v9.0.1...v10.0.0

Changelog: https://github.com/languitar/autosuspend/releases/tag/v10.0.0
2026-02-15 23:40:07 +01:00
Dyego Aurélio
28096cc5e3 treewide: apply nixfmt 1.2.0 2026-01-22 18:37:56 -03:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
stuebinm
6afb255d97 nixos: remove all uses of lib.mdDoc
these changes were generated with nixq 0.0.2, by running

  nixq ">> lib.mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix
  nixq ">> mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix
  nixq ">> Inherit >> mdDoc[remove]" --batchmode nixos/**.nix

two mentions of the mdDoc function remain in nixos/, both of which
are inside of comments.

Since lib.mdDoc is already defined as just id, this commit is a no-op as
far as Nix (and the built manual) is concerned.
2024-04-13 10:07:35 -07:00
h7x4
79d3d59f58 treewide: replace mkPackageOptionMD with mkPackageOption 2023-11-30 19:03:14 +01:00
Xavier Lambein
3f3524a447 nixos/autosuspend: init at version 4.3.0
`autosuspend` is a daemon that periodically runs user-defined checks to
verify whether the system should be suspended.  It's already available
in nixpkgs.  This adds a NixOS module which starts the daemon as a
systemd service.

Co-authored-by: pennae <82953136+pennae@users.noreply.github.com>
2023-01-22 17:25:01 +01:00