forked from Fediversity/Fediversity
add generator dependency
This commit is contained in:
parent
50f3d01aec
commit
2cee7b315b
1 changed files with 5 additions and 2 deletions
|
@ -111,10 +111,13 @@ in
|
|||
};
|
||||
|
||||
vars.generators.attic = {
|
||||
runtimeInputs = [ pkgs.openssl ];
|
||||
runtimeInputs = [
|
||||
pkgs.coreutils
|
||||
pkgs.openssl
|
||||
];
|
||||
files.token.secret = true;
|
||||
script = ''
|
||||
genrsa -traditional 4096 | base64 -w0 > "$out"/token
|
||||
openssl genrsa -traditional 4096 | base64 -w0 > "$out"/token
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue