add generator dependency

This commit is contained in:
Kiara Grouwstra 2025-07-04 13:23:02 +02:00
parent 50f3d01aec
commit 2cee7b315b
Signed by: kiara
SSH key fingerprint: SHA256:COspvLoLJ5WC5rFb9ZDe5urVCkK4LJZOsjfF4duRJFU

View file

@ -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
'';
};