From c58ab1ba4978aae8200bc840fbfe6d9d62a0759d Mon Sep 17 00:00:00 2001 From: lassulus Date: Wed, 29 Jul 2015 14:54:23 +0200 Subject: lass cloudkrebs: change imports to user-toplevel --- lass/2configs/fastpoke-pages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lass/2configs') diff --git a/lass/2configs/fastpoke-pages.nix b/lass/2configs/fastpoke-pages.nix index 74e92ccc3..1f997eb6a 100644 --- a/lass/2configs/fastpoke-pages.nix +++ b/lass/2configs/fastpoke-pages.nix @@ -23,7 +23,7 @@ let in { imports = [ - ../../3modules/lass/iptables.nix + ../3modules/iptables.nix ] ++ map createStaticPage [ "habsys.de" "pixelpocket.de" -- cgit v1.2.3 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/2configs/fastpoke-pages.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'lass/2configs') 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