summaryrefslogtreecommitdiffstats
path: root/lass
diff options
context:
space:
mode:
Diffstat (limited to 'lass')
-rw-r--r--lass/1systems/cloudkrebs.nix12
-rw-r--r--lass/1systems/mors.nix5
-rw-r--r--lass/2configs/fastpoke-pages.nix16
3 files changed, 22 insertions, 11 deletions
diff --git a/lass/1systems/cloudkrebs.nix b/lass/1systems/cloudkrebs.nix
index a60024b0..515810e4 100644
--- a/lass/1systems/cloudkrebs.nix
+++ b/lass/1systems/cloudkrebs.nix
@@ -2,12 +2,12 @@
{
imports = [
- ../../2configs/tv/CAC-Developer-2.nix
- ../../2configs/tv/CAC-CentOS-7-64bit.nix
- ../../2configs/lass/base.nix
- ../../2configs/lass/retiolum.nix
- ../../2configs/lass/fastpoke-pages.nix
- ../../2configs/lass/new-repos.nix
+ ../../tv/2configs/CAC-Developer-2.nix
+ ../../tv/2configs/CAC-CentOS-7-64bit.nix
+ ../2configs/base.nix
+ ../2configs/retiolum.nix
+ ../2configs/fastpoke-pages.nix
+ ../2configs/new-repos.nix
{
networking.interfaces.enp2s1.ip4 = [
{
diff --git a/lass/1systems/mors.nix b/lass/1systems/mors.nix
index 5bef5668..e7edccce 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 74e92ccc..9c80fa77 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;