This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

syncthing: fix secret generation

+2 -2
+2 -2
nixos/2configs/syncthing.nix
··· 22 22 facts."syncthing.pub" = { }; 23 23 generator = '' 24 24 ${pkgs.syncthing}/bin/syncthing generate --config "$secrets" 25 - mv "$secrets"/key.pem "$secrets"/syncthing.cert 26 - mv "$secrets"/cert.pem "$secrets"/syncthing.key 25 + mv "$secrets"/key.pem "$secrets"/syncthing.key 26 + mv "$secrets"/cert.pem "$secrets"/syncthing.cert 27 27 cat "$secrets"/config.xml | ${pkgs.gnugrep}/bin/grep -oP '(?<=<device id=")[^"]+' > "$facts"/syncthing.pub 28 28 ''; 29 29 };