Updated Nixpkgs and increased max php upload and post size and reduced backup days

This commit is contained in:
naturallaw77 2024-01-04 20:34:16 -08:00
parent 74f43c07aa
commit c38af88950
2 changed files with 7 additions and 7 deletions

View File

@ -18,8 +18,8 @@ let
opcache_revalidate_freq = 240; opcache_revalidate_freq = 240;
opcache.max_accelerated_files=4000; opcache.max_accelerated_files=4000;
auto_prepend_file = '/var/lib/www/wordpress/wordfence-waf.php' auto_prepend_file = '/var/lib/www/wordpress/wordfence-waf.php'
post_max_size = 2048M post_max_size = 3G
upload_max_filesize = 2048M upload_max_filesize = 3G
opcache.interned_strings_buffer = 32 opcache.interned_strings_buffer = 32
apc.enable_cli=1 apc.enable_cli=1
redis.session.locking_enabled=1 redis.session.locking_enabled=1
@ -342,8 +342,8 @@ in
enable = true; enable = true;
extraConfig = '' extraConfig = ''
snapshot_root /run/media/Second_Drive/BTCEcoandBackup/NixOS_Snapshot_Backup snapshot_root /run/media/Second_Drive/BTCEcoandBackup/NixOS_Snapshot_Backup
retain hourly 12 retain hourly 7
retain daily 12 retain daily 7
backup /home/ localhost/ backup /home/ localhost/
backup /var/lib/ localhost/ backup /var/lib/ localhost/
backup /etc/nixos/ localhost/ backup /etc/nixos/ localhost/

6
flake.lock generated
View File

@ -157,11 +157,11 @@
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1703961334, "lastModified": 1704194953,
"narHash": "sha256-M1mV/Cq+pgjk0rt6VxoyyD+O8cOUiai8t9Q6Yyq4noY=", "narHash": "sha256-RtDKd8Mynhe5CFnVT8s0/0yqtWFMM9LmCzXv/YKxnq4=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "b0d36bd0a420ecee3bc916c91886caca87c894e9", "rev": "bd645e8668ec6612439a9ee7e71f7eac4099d4f6",
"type": "github" "type": "github"
}, },
"original": { "original": {