diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-08-14 23:16:35 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-08-14 23:16:35 +0200 |
commit | f7c27d313296485fd5f6d76a9264c26beef2eeaa (patch) | |
tree | a9fdef68585bf259ecc72120d1b1cabc70f3a65f /modules/private/websites | |
parent | 558e2560c76e9e557093748dee476bfa0df900c5 (diff) | |
download | Nix-f7c27d313296485fd5f6d76a9264c26beef2eeaa.tar.gz Nix-f7c27d313296485fd5f6d76a9264c26beef2eeaa.tar.zst Nix-f7c27d313296485fd5f6d76a9264c26beef2eeaa.zip |
Add more profiles for ovh
Diffstat (limited to 'modules/private/websites')
-rw-r--r-- | modules/private/websites/default.nix | 1 | ||||
-rw-r--r-- | modules/private/websites/tools/tools/shaarli.nix | 1 |
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 | |||
4 | in rec { | 4 | in 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} \ |