Talk:LimeSurvey
Appearance
stuff
minimal
services.limesurvey.enable = true; networking.firewall.allowedTCPPorts = [ 80 ]; services.limesurvey.virtualHost.hostName = "${config.networking.fqdn}";
almost minimal
services.limesurvey.enable = true; # networking.firewall.allowedTCPPorts = [ # 80 # ]; services.limesurvey.virtualHost.hostName = "${config.networking.fqdn}"; #### openssl rand -hex 24 services.limesurvey.encryptionNonce = "1ACC8555619929DB91310BE848025A427B0F364A884FFA77"; #### openssl rand -hex 32 services.limesurvey.encryptionKey = "E17687FC77CEE247F0E22BB3ECF27FDE8BEC310A892347EC13013ABA11AA7EB5"; networking.firewall.allowedTCPPorts = [ 80 443 ]; services.limesurvey.virtualHost.forceSSL = true; services.limesurvey.virtualHost.enableACME = true; security.acme.acceptTerms = true; security.acme.defaults.email = "cert@{config.networking.fqdn}";
additional (needed) foo
- setting time(zone) for LimeSurvey
# services.httpd.phpOptions = ''
services.phpfpm.phpOptions = '' date.timezone = "Europe/Berlin" '';
services.limesurvey.config problem
services.limesurvey.config.config problem
services.limesurvey.config.config.config problem
services.limesurvey.config.config = let stateDir = "/var/lib/limesurvey"; in { tempdir = "/var/lib/limesurvey/tmp"; # tempdir = "${stateDir}/tmp"; uploaddir = "/var/lib/limesurvey/upload"; # uploaddir = "${stateDir}/upload"; encryptionnonce = "${config.services.limesurvey.encryptionNonce}"; encryptionsecretboxkey = "${config.services.limesurvey.encryptionKey}"; force_ssl = "on"; config.defaultlang = "en"; # config.siteadminmail = "surveys@${config.networking.fqdn}"; # config.siteadminname = "Surveys ${config.networking.fqdn}"; # siteadminmail = "surveys@${config.networking.fqdn}"; # siteadminname = "Surveys ${config.networking.fqdn}"; # emailmethod = "smtp"; # emailsmtphost = "mail.${config.networking.fqdn}:25"; # emailsmtpuser = ""; # emailsmtppassword = ""; };