summaryrefslogtreecommitdiffstats
path: root/lass/2configs/websites/domsen.nix
blob: 895146d2517c23a01df537b78d017c432171928a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{ config, pkgs, ... }:

let
  inherit (config.krebs.lib) genid;
in {
  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>);
  };

  users.users.domsen = {
    uid = genid "domsen";
    description = "maintenance acc for domsen";
    home = "/home/domsen";
    useDefaultShell = true;
    extraGroups = [ "nginx" ];
    createHome = true;
  };

  #lass.wordpress = {
  #  "ubikmedia.de" = {
  #  };
  #};

}