2015-12-12 18:21:50 +01:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
2016-03-23 13:45:06 +01:00
|
|
|
let
|
|
|
|
inherit (config.krebs.lib) genid;
|
|
|
|
in {
|
2015-12-12 18:21:50 +01:00
|
|
|
imports = [
|
|
|
|
../../3modules/static_nginx.nix
|
|
|
|
../../3modules/owncloud_nginx.nix
|
|
|
|
../../3modules/wordpress_nginx.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
lass.staticPage = {
|
|
|
|
"karlaskop.de" = {};
|
|
|
|
"makeup.apanowicz.de" = {};
|
|
|
|
"pixelpocket.de" = {};
|
|
|
|
"reich-gebaeudereinigung.de" = {};
|
|
|
|
};
|
|
|
|
|
|
|
|
lass.owncloud = {
|
|
|
|
"o.ubikmedia.de" = {
|
|
|
|
instanceid = "oc8n8ddbftgh";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
services.mysql = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.mariadb;
|
|
|
|
rootPassword = toString (<secrets/mysql_rootPassword>);
|
|
|
|
};
|
|
|
|
|
2016-03-23 13:45:06 +01:00
|
|
|
users.users.domsen = {
|
|
|
|
uid = genid "domsen";
|
|
|
|
description = "maintenance acc for domsen";
|
|
|
|
home = "/home/domsen";
|
|
|
|
useDefaultShell = true;
|
|
|
|
extraGroups = [ "nginx" ];
|
|
|
|
createHome = true;
|
|
|
|
};
|
|
|
|
|
2015-12-12 18:21:50 +01:00
|
|
|
#lass.wordpress = {
|
|
|
|
# "ubikmedia.de" = {
|
|
|
|
# };
|
|
|
|
#};
|
|
|
|
|
|
|
|
}
|
|
|
|
|