From 9756bedf5286fe716740d8f224b5c4094843f984 Mon Sep 17 00:00:00 2001 From: lassulus Date: Sun, 2 Aug 2015 21:13:06 +0200 Subject: lass 1&2: extend fastpoke pages. --- lass/1systems/mors.nix | 5 +++++ lass/2configs/fastpoke-pages.nix | 14 ++++++++++---- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/lass/1systems/mors.nix b/lass/1systems/mors.nix index 5bef56682..e7edcccea 100644 --- a/lass/1systems/mors.nix +++ b/lass/1systems/mors.nix @@ -44,6 +44,11 @@ networking.wireless.enable = true; networking.extraHosts = '' + 10.243.206.102 habsys.de + 10.243.206.102 pixelpocket.de + 10.243.206.102 karlaskop.de + 10.243.206.102 ubikmedia.de + 10.243.206.102 apanowicz.de ''; nix.maxJobs = 4; diff --git a/lass/2configs/fastpoke-pages.nix b/lass/2configs/fastpoke-pages.nix index 1f997eb6a..9c80fa77a 100644 --- a/lass/2configs/fastpoke-pages.nix +++ b/lass/2configs/fastpoke-pages.nix @@ -19,6 +19,13 @@ let #networking.extraHosts = '' # 10.243.206.102 ${domain} #''; + users.extraUsers = { + "${domain}" = { + name = "${domain}"; + home = "/var/lib/http/${domain}"; + createHome = true; + }; + }; }; in { @@ -44,7 +51,6 @@ in { krebs.nginx = { enable = true; servers = { - #"habsys.de" = { # server-names = [ # "habsys.de" @@ -84,9 +90,9 @@ in { }; }; - #services.postgresql = { - # enable = true; - #}; + services.postgresql = { + enable = true; + }; #config.services.vsftpd = { # enable = true; -- cgit v1.2.3