3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/services/networking
Niklas Hambüchen d344dccf3d 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`.
2021-05-28 17:44:19 -07:00
..
firefox
hylafax nixos/hylafax: enable ProtectKernelLogs for most services 2021-05-14 22:55:50 +02:00
icecream nixos/icecream: add modules 2020-11-01 08:13:08 +01:00
ircd-hybrid iproute: deprecate alias 2021-04-04 01:43:46 +02:00
iscsi nixos/iscsi/root-initiator: init 2021-04-06 18:34:32 +00:00
keepalived
nghttpx
ntp nixos/chrony: add types 2021-01-24 13:50:35 +01:00
ssh nixos/lshd: add types 2021-01-31 11:27:20 +01:00
strongswan-swanctl iproute: deprecate alias 2021-04-04 01:43:46 +02:00
znc nixos/znc: fixed chown not working after hardening (#123883) 2021-05-21 19:07:53 +02:00
3proxy.nix
adguardhome.nix nixos/adguardhome: init (#120568) 2021-04-30 20:55:31 +02:00
amuled.nix treewide: fix double quoted strings in meta.description 2021-01-24 19:56:59 +07:00
aria2.nix
asterisk.nix
atftpd.nix
autossh.nix
avahi-daemon.nix nixos/avahi: Enable IPv6 by default 2020-10-26 04:06:26 +01:00
babeld.nix nixos/babeld: start maintaining the module 2021-04-27 14:12:07 +02:00
bee-clef.nix nixos/bee-clef: init at 0.4.7 2021-02-01 10:56:04 +01:00
bee.nix nixos/bee: init at 0.4.2 2021-02-01 10:56:04 +01:00
biboumi.nix
bind.nix nixos/bind: formatted with nixpkgs-fmt 2021-05-08 23:13:58 +02:00
bird.nix nixos/users: require one of users.users.name.{isSystemUser,isNormalUser} 2021-04-14 20:40:00 +02:00
bitcoind.nix
bitlbee.nix nixos/bitlbee: Add types to options (#110446) 2021-01-22 11:07:29 +01:00
blockbook-frontend.nix blockbook-frontend: fix&update extraConfig example 2020-10-29 11:41:41 +01:00
charybdis.nix
cjdns.nix services.cjdns: add missing, optional login & peerName attribute 2021-05-18 17:39:04 +02:00
cntlm.nix nixos/cntlm: add types 2021-01-26 13:17:19 -08:00
connman.nix treewide: fix double quoted strings in meta.description 2021-01-24 19:56:59 +07:00
consul.nix iproute: deprecate alias 2021-04-04 01:43:46 +02:00
coredns.nix
corerad.nix nixos/corerad: use pkgs.formats.toml to generate TOML configuration 2020-12-29 17:47:01 -05:00
coturn.nix
croc.nix treewide: remove duplicates SystemCallFilters 2021-05-13 15:44:56 +03:00
dante.nix
ddclient.nix
dhcpcd.nix nixos/{networkd,dhcpcd}: remove udev-settle hack 2021-02-18 22:07:00 +01:00
dhcpd.nix
dnscache.nix
dnscrypt-proxy2.nix nixos/dnscrypt-proxy2: reallow @sync syscalls 2021-02-21 14:53:54 +01:00
dnscrypt-wrapper.nix nixos/modules: pkgconfig -> pkg-config 2021-01-19 01:16:25 -08:00
dnsdist.nix nixos/dnsdist: dndist.conf -> dnsdist.conf 2021-04-18 13:34:28 +02:00
dnsmasq.nix
doh-proxy-rust.nix doh-proxy-rust: init at 0.3.8 2021-04-07 14:23:55 +02:00
ejabberd.nix
epmd.nix maintainers/teams: add beam team 2021-02-07 13:01:11 -06:00
ergo.nix
eternal-terminal.nix
fakeroute.nix
ferm.nix
fireqos.nix
firewall.nix
flannel.nix nixos/kubernetes: docker -> containerd 2021-03-07 12:51:14 +10:00
freenet.nix
freeradius.nix
gale.nix
gateone.nix treewide: fix double quoted strings in meta.description 2021-01-24 19:56:59 +07:00
gdomap.nix
ghostunnel.nix nixos/ghostunnel: init 2021-05-20 10:41:52 +02:00
git-daemon.nix
gnunet.nix
go-neb.nix
go-shadowsocks2.nix
gobgpd.nix nixos/gobpgd: init 2021-04-09 14:57:11 +00:00
gogoclient.nix nixos/gogoclient: add types 2021-01-29 08:39:51 +01:00
gvpe.nix treewide: fix eval without aliases after 9378fdf87e 2021-04-08 13:33:09 +02:00
hans.nix treewide: remove gnidorah 2021-04-30 01:48:19 +02:00
haproxy.nix
helpers.nix
hostapd.nix nixos/hostapd: add interface type 2021-01-29 13:04:50 +01:00
htpdate.nix
i2p.nix
i2pd.nix
inspircd.nix !fixup add myself as maintainer for the module 2021-03-22 15:19:49 +01:00
iodine.nix
iperf3.nix
iwd.nix nixos/iwd: add networkd link configuration matching the upstream .link unit file 2021-01-09 10:26:57 +01:00
jicofo.nix
jitsi-videobridge.nix nixos/jitsi-videobridge: add apis option (#112960) 2021-02-13 15:04:58 +01:00
keybase.nix
kippo.nix treewide: fix double quoted strings in meta.description 2021-01-24 19:56:59 +07:00
knot.nix
kresd.nix nixos/kresd: tell resolveconf to use local resolver 2021-05-25 16:37:00 +02:00
lambdabot.nix
libreswan.nix nixos/libreswan: update for version 4.x 2021-05-18 08:13:36 +02:00
lldpd.nix
logmein-hamachi.nix
magic-wormhole-mailbox-server.nix
mailpile.nix nixos/mailpile add types switch port to port type 2021-01-31 11:26:07 +01:00
matterbridge.nix
minidlna.nix
miniupnpd.nix
miredo.nix
mjpg-streamer.nix
monero.nix nixos/monero: use isSystemUser = true 2021-05-08 02:13:25 +02:00
morty.nix nixos/*: fix indentation 2020-11-23 08:42:51 +10:00
mosquitto.nix nixos/mosquitto: Migrate away from bind_address/port config keys 2021-05-01 19:46:48 +02:00
mstpd.nix
mtprotoproxy.nix
mullvad-vpn.nix treewide: fix eval without aliases after 9378fdf87e 2021-04-08 13:33:09 +02:00
murmur.nix nixos/murmur: Add overrideable package switch 2021-01-11 00:08:23 +01:00
mxisd.nix mxisd: remove (#119372) 2021-04-19 11:26:08 -04:00
namecoind.nix nixos/modules: fix systemd start rate-limits 2020-10-31 01:35:56 -07:00
nar-serve.nix nar-serve: init at 0.3.0 (#95420) 2020-11-06 18:59:51 +01:00
nat.nix nixos/nat: support IPv6 NAT 2020-12-01 00:51:58 +01:00
ncdns.nix nixos/users: require one of users.users.name.{isSystemUser,isNormalUser} 2021-04-14 20:40:00 +02:00
ndppd.nix
nebula.nix nixos/nebula: Add enable option defaulting to true to Nebula networks 2021-04-16 19:57:02 -07:00
networkmanager.nix Merge pull request #118658 from rhoriguchi/networkmanager 2021-04-12 20:18:32 +02:00
nextdns.nix nixos/modules: fix systemd start rate-limits 2020-10-31 01:35:56 -07:00
nftables.nix
ngircd.nix
nix-serve.nix
nix-store-gcs-proxy.nix nixos/modules: fix systemd start rate-limits 2020-10-31 01:35:56 -07:00
nixops-dns.nix
nntp-proxy.nix
nomad.nix treewide: fix eval without aliases after 9378fdf87e 2021-04-08 13:33:09 +02:00
nsd.nix nixos/nsd: make nsd-checkconf work when configuration contains keys 2021-05-19 18:21:10 +02:00
ntopng.nix
nullidentdmod.nix
nylon.nix
ocserv.nix
ofono.nix
oidentd.nix
onedrive.nix
onedrive.xml
openfire.nix
openvpn.nix iproute: deprecate alias 2021-04-04 01:43:46 +02:00
ostinato.nix
owamp.nix treewide: fix double quoted strings in meta.description 2021-01-24 19:56:59 +07:00
pdns-recursor.nix nixos/pdns-recursor: declare module user as system user 2020-10-18 08:15:29 -04:00
pdnsd.nix
pixiecore.nix nixos/users: require one of users.users.name.{isSystemUser,isNormalUser} 2021-04-14 20:40:00 +02:00
pleroma.nix nixos/users: require one of users.users.name.{isSystemUser,isNormalUser} 2021-04-14 20:40:00 +02:00
pleroma.xml nixos/pleroma: init 2021-01-26 18:11:38 +01:00
polipo.nix
powerdns.nix nixos/powerdns: use upstream systemd unit 2020-10-24 16:40:20 -04:00
pppd.nix
pptpd.nix
prayer.nix nixos/prayer: Add port type 2021-01-31 12:01:41 +01:00
privoxy.nix nixos/privoxy: add missing "/" to "forward-socks5" option 2021-03-28 21:16:55 +02:00
prosody.nix treewide: De-inline uses of lib.boolToString 2020-10-14 01:46:17 +02:00
prosody.xml
quassel.nix nixos/quassel: add types (#111429) 2021-01-31 13:46:29 +01:00
quicktun.nix
quorum.nix
racoon.nix
radicale.nix nixos/radicale: harden systemd unit 2021-05-04 17:43:26 +02:00
radvd.nix nixos/radvd: add type (#111430) 2021-01-31 13:54:30 +01:00
rdnssd.nix
redsocks.nix
resilio.nix nixos/resilio: add sharedFolders type 2021-02-03 16:17:37 -08:00
robustirc-bridge.nix
rpcbind.nix
rxe.nix treewide: fix eval without aliases after 9378fdf87e 2021-04-08 13:33:09 +02:00
sabnzbd.nix nixos/sabnzbd: add types 2021-01-31 12:12:59 +01:00
searx.nix nixos/searx: set settings.yml permissions using umask 2021-05-03 09:53:50 +02:00
shadowsocks.nix
shairport-sync.nix nixos/shairport-sync: add types 2021-01-31 12:14:01 +01:00
shellhub-agent.nix nixos/shellhub-agent: initial service expression 2020-12-30 19:24:13 -03:00
shorewall.nix
shorewall6.nix
shout.nix
skydns.nix
smartdns.nix
smokeping.nix Merge pull request #100155 from primeos/nixos-add-fqdn-option 2021-01-25 16:45:45 +01:00
sniproxy.nix
softether.nix
solanum.nix solanum: remove obsolete BANDB settings/patches 2021-05-24 15:49:57 +02:00
spacecookie.nix spacecookie: add top-level attribute for haskellPackages.spacecookie 2021-04-10 15:44:19 +02:00
spiped.nix
squid.nix
sslh.nix iproute: deprecate alias 2021-04-04 01:43:46 +02:00
strongswan.nix iproute: deprecate alias 2021-04-04 01:43:46 +02:00
stubby.nix
stunnel.nix stunnel: make servers accept more lenient 2020-11-02 10:51:00 +01:00
supplicant.nix nixos/wpa_supplicant: prefer 'install' over 'touch/chmod/mkdir/chgrp' 2021-05-01 15:34:04 +02:00
supybot.nix nixos: use functionTo to prevent evaluation errors while merging 2021-01-24 17:18:37 +01:00
syncplay.nix
syncthing-relay.nix
syncthing.nix
tailscale.nix services.tailscale: add openresolv to path 2021-04-07 18:40:04 +02:00
tcpcrypt.nix
teamspeak3.nix
tedicross.nix
tftpd.nix
thelounge.nix
tinc.nix Merge pull request #106073 from minijackson/tinc-rfc42-and-tests 2020-12-14 21:52:57 +01:00
tinydns.nix
tox-bootstrapd.nix
tox-node.nix
toxvpn.nix
trickster.nix
tvheadend.nix
unbound.nix nixos/unbound: allow list of strings in top-level settings option type 2021-05-08 19:55:17 +02:00
unifi.nix
v2ray.nix
vsftpd.nix
wakeonlan.nix
wasabibackend.nix nixos/*: fix indentation 2020-11-23 08:42:51 +10:00
websockify.nix
wg-quick.nix treewide: fix eval without aliases after 9378fdf87e 2021-04-08 13:33:09 +02:00
wicd.nix
wireguard.nix nixos/wireguard: Remove .path systemd unit for privkey. Fixes #123203 2021-05-28 17:44:19 -07:00
wpa_supplicant.nix wpa_supplicant: review fixes 2021-04-16 13:28:26 +02:00
xandikos.nix
xinetd.nix
xl2tpd.nix
xrdp.nix
yggdrasil.nix nixos/yggdrasil: set directory permissions before writing keys 2021-05-08 09:49:19 +02:00
yggdrasil.xml
zerobin.nix zerobin: 20160108 -> 1.0.5 2021-03-13 13:06:06 +01:00
zeronet.nix
zerotierone.nix