mirror of
https://github.com/kmein/niveum
synced 2026-03-21 12:21:08 +01:00
- tinc-generate-key script
This commit is contained in:
@@ -353,12 +353,6 @@ let
|
|||||||
executable = true;
|
executable = true;
|
||||||
};
|
};
|
||||||
in unstable.writers.writeDashBin "generate-shell-nix" ''${generateShellNixPath} $*'';
|
in unstable.writers.writeDashBin "generate-shell-nix" ''${generateShellNixPath} $*'';
|
||||||
scripts.tinc-generate-key =
|
|
||||||
unstable.writers.writeDashBin "tinc-generate-key" ''
|
|
||||||
TMPDIR=/tmp
|
|
||||||
${pkgs.openssl}/bin/openssl genrsa -out $TMPDIR/retiolum.rsa_key.priv 4096 2>/dev/null > /dev/null
|
|
||||||
${pkgs.openssl}/bin/openssl rsa -in $TMPDIR/retiolum.rsa_key.priv -pubout -out $TMPDIR/retiolum.rsa_key.pub 2>/dev/null > /dev/null
|
|
||||||
'';
|
|
||||||
scripts.dic =
|
scripts.dic =
|
||||||
let dicPath = pkgs.fetchurl {
|
let dicPath = pkgs.fetchurl {
|
||||||
url = "https://cgit.krebsco.de/dic/plain/dic?id=beeca40313f68874e05568f4041423c16202e9da";
|
url = "https://cgit.krebsco.de/dic/plain/dic?id=beeca40313f68874e05568f4041423c16202e9da";
|
||||||
|
|||||||
Reference in New Issue
Block a user