summaryrefslogtreecommitdiffstats
path: root/lass/2configs
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2015-08-04 15:21:38 +0200
committermakefu <github@syntax-fehler.de>2015-08-04 15:21:38 +0200
commit393444d5f4edcfdcab4b4e222b2760f39d378ee6 (patch)
treee9de39223aff0e02b880c6695ffd30f58955cfcf /lass/2configs
parent7d75cf113fc2ed694e100cd1e6e0f040ef870f19 (diff)
parentb4606691878584d39018834354ef9e4a6048f4c4 (diff)
Merge remote-tracking branch 'cloudkrebs/master'
Diffstat (limited to 'lass/2configs')
-rw-r--r--lass/2configs/fastpoke-pages.nix16
1 files changed, 11 insertions, 5 deletions
diff --git a/lass/2configs/fastpoke-pages.nix b/lass/2configs/fastpoke-pages.nix
index 74e92ccc3..9c80fa77a 100644
--- a/lass/2configs/fastpoke-pages.nix
+++ b/lass/2configs/fastpoke-pages.nix
@@ -19,11 +19,18 @@ let
#networking.extraHosts = ''
# 10.243.206.102 ${domain}
#'';
+ users.extraUsers = {
+ "${domain}" = {
+ name = "${domain}";
+ home = "/var/lib/http/${domain}";
+ createHome = true;
+ };
+ };
};
in {
imports = [
- ../../3modules/lass/iptables.nix
+ ../3modules/iptables.nix
] ++ map createStaticPage [
"habsys.de"
"pixelpocket.de"
@@ -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;