randomize key

This commit is contained in:
Denis Lehmann 2022-05-01 10:59:50 +02:00
parent 9909d92dba
commit 0e0ad27dbf
4 changed files with 8 additions and 15 deletions

View file

@ -61,11 +61,6 @@
type = types.str;
description = "Base path of the raincloud";
};
secretKey = mkOption {
type = types.str;
description = "Flask secret key";
};
};
config = mkIf cfg.enable {
@ -95,7 +90,7 @@
PermissionsStartOnly = true;
ExecStart = ''
${gunicorn}/bin/gunicorn "raincloud:create_app('${cfg.basePath}', '${cfg.secretKey}', '${cfg.cloudName}')" \
${gunicorn}/bin/gunicorn "raincloud:create_app('${cfg.basePath}', '${cfg.cloudName}')" \
--bind=${cfg.address}:${toString cfg.port}
'';
};