<gchristensen>
that example will cause that private key file to be copied in to the store
<NinjaTrappeur>
of yeah, forgot the quotes :/
<gchristensen>
that should be "/var/run/wg/secret.key"
<NinjaTrappeur>
thanks gchristensen!
<gchristensen>
one more thing NinjaTrappeur
<gchristensen>
networking.wireguard.interfaces suggests /private/wireguard_key. while this isn't a great example (what is /private anyway) making them the same might be good
<gchristensen>
also
<gchristensen>
hrm
<gchristensen>
I don't suppose networking.wireguard could be used to create the networkd one?
<NinjaTrappeur>
Alright for /private/
<gchristensen>
I'm not inclined to tell you to change it to /pri/ate/
<gchristensen>
I'm not inclined to tell you to change it to /priv ate/
<gchristensen>
good grief
gchristensen has left #nixos-borg ["WeeChat 2.4"]
gchristensen has joined #nixos-borg
<NinjaTrappeur>
I'm not sure I agree about mirroring networking.wireguard to networkd though :/ Maybe we can discuss that on the PR itself
<NinjaTrappeur>
:)
<NinjaTrappeur>
oh, you mean changing the wireguard example to /var/run?
<gchristensen>
one sec
<gchristensen>
I'm not sure /var/run is the right place
<gchristensen>
(I know I'm giving you probably a lot of feedback here)
<gchristensen>
I think more like /etc/wireguard/ would be a better choice
<gchristensen>
since /var/run is usually ephemeral run-time process data