~rycee/sd-switch

A systemd unit switcher for Home Manager
Add elided lifetime attribute
Make PID check in tests more idiomatic
Add integration test of `X-RestartIfChanged = false`

clone

read-only
https://git.sr.ht/~rycee/sd-switch
read/write
git@git.sr.ht:~rycee/sd-switch

You can also use your local clone with git send-email.

#sd-switch

#About

A tool primarily built for Home Manager to assist with reloading and restarting systemd units.

#Bug Reports and Sending Patches

Bug reports and patches are managed through my sourcehut public inbox.

#Development

The intended development flow is to use a Nix Flake development shell, e.g., using Direnv or directly running

$ nix develop .

This will help set up a shell containing the necessary development dependencies. This shell will also be populated with a few utilities, which can be run directly in the terminal.

  • p-format -- will format the project's Rust, and Nix code.

#License

GNU General Public License v3.0 or later