init nextcloud

This commit is contained in:
stubbfel
2017-11-21 22:14:38 +01:00
parent 9b10314f56
commit 2249daebb7
3 changed files with 10 additions and 0 deletions

View File

@@ -7,5 +7,6 @@
./teamspeak.nix
./nginx.nix
./gitlab.nix
./nextcloud.nix
];
}

8
services/nextcloud.nix Normal file
View File

@@ -0,0 +1,8 @@
{ config, pkgs, ... }:
{
services.nginx.virtualHosts."cloud.stubbe.rocks" = {
enableACME = true;
forceSSL = true;
};
}

View File

@@ -12,5 +12,6 @@ in
users = {
defaultUserShell = pkgs.zsh;
extraUsers.sshuser = myPublicSshKeys // { isNormalUser = true; home = "/home/sshuser";};
extraUsers.nextcloud = myPublicSshKeys // { isNormalUser = true; home = "/home/nextcloud";};
};
}