nixpkgs/nixos
Niklas Hambüchen b73e47d3d7 nixos/wireguard: Remove .path systemd unit for privkey. Fixes #123203
As per `man systemd.path`:

> When a service unit triggered by a path unit terminates
> (regardless whether it exited successfully or failed),
> monitored paths are checked immediately again,
> **and the service accordingly restarted instantly**.

Thus the existence of the path unit made it impossible to stop the
wireguard service using e.g.

    systemctl stop wireguard-wg0.service

Systemd path units are not intended for program inputs such
as private key files.
This commit simply removes this usage; the private key is still
generated by the `generateKeyServiceUnit`.

(cherry picked from commit d344dccf3dc592242f11ef993acb9ecee8d84796)
2021-05-28 18:28:35 -07:00
..
doc mediatomb/gerbera: Add release note information for 21.03 2021-05-28 11:21:30 -07:00
lib Merge pull request #123823 from misuzu/test-driver-usb-boot-speedup 2021-05-21 20:47:47 +02:00
maintainers amazonImage: make statically sized again 2021-05-01 02:19:42 +00:00
modules nixos/wireguard: Remove .path systemd unit for privkey. Fixes #123203 2021-05-28 18:28:35 -07:00
tests nixos/tests/{sway,cagebreak}: Disable on aarch64-linux 2021-05-27 17:43:06 +02:00
COPYING
default.nix nixos: fix "nixos-rebuild build-vm-with-bootloader" for EFI systems 2021-01-08 19:36:10 +01:00
README treewide: use https for nixos.org and hydra.nixos.org 2020-05-03 22:14:21 -07:00
release-combined.nix nixos/release-combined: fix a test name 2021-05-17 22:52:28 +02:00
release-small.nix Merge pull request #104322 from grahamc/amazon-image 2020-11-19 18:45:07 -05:00
release.nix 21.05 beta release 2021-05-22 17:56:13 -07:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
https://nixos.org/nixos and in the manual in doc/manual.