aboutsummaryrefslogtreecommitdiff
path: root/modules/private/websites
diff options
context:
space:
mode:
Diffstat (limited to 'modules/private/websites')
-rw-r--r--modules/private/websites/default.nix1
-rw-r--r--modules/private/websites/tools/tools/shaarli.nix1
2 files changed, 2 insertions, 0 deletions
diff --git a/modules/private/websites/default.nix b/modules/private/websites/default.nix
index d9665ff..9467055 100644
--- a/modules/private/websites/default.nix
+++ b/modules/private/websites/default.nix
@@ -104,6 +104,7 @@ in
104 config = lib.mkIf config.myServices.websites.enable { 104 config = lib.mkIf config.myServices.websites.enable {
105 services.duplyBackup.profiles.php = { 105 services.duplyBackup.profiles.php = {
106 rootDir = "/var/lib/php"; 106 rootDir = "/var/lib/php";
107 remotes = [ "eriomem" "ovh" ];
107 }; 108 };
108 users.users.wwwrun.extraGroups = [ "keys" ]; 109 users.users.wwwrun.extraGroups = [ "keys" ];
109 networking.firewall.allowedTCPPorts = [ 80 443 ]; 110 networking.firewall.allowedTCPPorts = [ 80 443 ];
diff --git a/modules/private/websites/tools/tools/shaarli.nix b/modules/private/websites/tools/tools/shaarli.nix
index 950d296..24b4845 100644
--- a/modules/private/websites/tools/tools/shaarli.nix
+++ b/modules/private/websites/tools/tools/shaarli.nix
@@ -4,6 +4,7 @@ let
4in rec { 4in rec {
5 backups = { 5 backups = {
6 rootDir = varDir; 6 rootDir = varDir;
7 remotes = [ "eriomem" "ovh" ];
7 }; 8 };
8 activationScript = '' 9 activationScript = ''
9 install -m 0755 -o ${apache.user} -g ${apache.group} -d ${varDir} \ 10 install -m 0755 -o ${apache.user} -g ${apache.group} -d ${varDir} \