From c38af88950f9191bf7c864cf66c4a03b214370e5 Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Thu, 4 Jan 2024 20:34:16 -0800 Subject: [PATCH] Updated Nixpkgs and increased max php upload and post size and reduced backup days --- configuration.nix | 8 ++++---- flake.lock | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/configuration.nix b/configuration.nix index 2dae030..50609f1 100644 --- a/configuration.nix +++ b/configuration.nix @@ -18,8 +18,8 @@ let opcache_revalidate_freq = 240; opcache.max_accelerated_files=4000; auto_prepend_file = '/var/lib/www/wordpress/wordfence-waf.php' - post_max_size = 2048M - upload_max_filesize = 2048M + post_max_size = 3G + upload_max_filesize = 3G opcache.interned_strings_buffer = 32 apc.enable_cli=1 redis.session.locking_enabled=1 @@ -342,8 +342,8 @@ in enable = true; extraConfig = '' snapshot_root /run/media/Second_Drive/BTCEcoandBackup/NixOS_Snapshot_Backup -retain hourly 12 -retain daily 12 +retain hourly 7 +retain daily 7 backup /home/ localhost/ backup /var/lib/ localhost/ backup /etc/nixos/ localhost/ diff --git a/flake.lock b/flake.lock index e531a2e..327a5b7 100644 --- a/flake.lock +++ b/flake.lock @@ -157,11 +157,11 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1703961334, - "narHash": "sha256-M1mV/Cq+pgjk0rt6VxoyyD+O8cOUiai8t9Q6Yyq4noY=", + "lastModified": 1704194953, + "narHash": "sha256-RtDKd8Mynhe5CFnVT8s0/0yqtWFMM9LmCzXv/YKxnq4=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "b0d36bd0a420ecee3bc916c91886caca87c894e9", + "rev": "bd645e8668ec6612439a9ee7e71f7eac4099d4f6", "type": "github" }, "original": {