stockholm/lass/2configs/websites/fritz.nix

67 lines
1.4 KiB
Nix
Raw Normal View History

2016-04-09 12:21:39 +00:00
{ config, pkgs, lib, ... }:
2016-02-01 15:04:05 +00:00
2016-04-09 12:21:39 +00:00
let
inherit (import ../../4lib { inherit lib pkgs; })
2016-04-13 14:32:04 +00:00
manageCerts
2016-04-09 12:21:39 +00:00
activateACME
ssl
servePage
2016-04-13 14:32:04 +00:00
serveWordpress;
2016-02-01 15:04:05 +00:00
2016-04-09 12:21:39 +00:00
in {
2016-02-01 15:04:05 +00:00
imports = [
2016-04-13 14:32:04 +00:00
#( manageCerts [ "biostase.de" ])
#( servePage [ "biostase.de" ])
2016-04-09 12:21:39 +00:00
2016-04-13 14:32:04 +00:00
#( manageCerts [ "gs-maubach.de" ])
#( servePage [ "gs-maubach.de" ])
2016-04-09 12:21:39 +00:00
2016-04-13 14:32:04 +00:00
#( manageCerts [ "spielwaren-kern.de" ])
#( servePage [ "spielwaren-kern.de" ])
2016-04-09 12:21:39 +00:00
2016-04-13 14:32:04 +00:00
#( manageCerts [ "societyofsimtech.de" ])
#( servePage [ "societyofsimtech.de" ])
2016-02-01 15:04:05 +00:00
2016-04-13 14:32:04 +00:00
#( manageCerts [ "ttf-kleinaspach.de" ])
#( servePage [ "ttf-kleinaspach.de" ])
2016-04-09 12:21:39 +00:00
2016-04-13 14:32:04 +00:00
#( manageCerts [ "edsn.de" ])
#( servePage [ "edsn.de" ])
2016-04-09 12:21:39 +00:00
2016-04-13 14:32:04 +00:00
#( manageCerts [ "eab.berkeley.edu" ])
#( servePage [ "eab.berkeley.edu" ])
2016-04-09 12:21:39 +00:00
2016-04-13 14:32:04 +00:00
( manageCerts [ "eastuttgart.de" ])
( serveWordpress [ "eastuttgart.de" ])
( manageCerts [ "habsys.de" ])
( servePage [ "habsys.de" ])
2016-04-09 12:21:39 +00:00
];
2016-02-01 15:04:05 +00:00
services.mysql = {
enable = true;
package = pkgs.mariadb;
rootPassword = toString (<secrets/mysql_rootPassword>);
};
services.mysqlBackup = {
enable = true;
databases = [
"eastuttgart_de"
];
location = "/bku/sql_dumps";
};
2016-02-01 15:04:05 +00:00
#lass.owncloud = {
# "o.ubikmedia.de" = {
# instanceid = "oc8n8ddbftgh";
# };
#};
#services.mysql = {
# enable = true;
# package = pkgs.mariadb;
# rootPassword = toString (<secrets/mysql_rootPassword>);
#};
}