hardware rewrite

This commit is contained in:
bogale 2026-10-07 09:54:55 +09:00
commit 277291f346
8 changed files with 40 additions and 50 deletions

View file

@ -3,7 +3,7 @@ let
postfixDir = "/var/spool/postfix";
in {
systemd.tmpfiles.rules = [
"d ${postfixDir} 0700 postfix postfix -"
"d ${postfixDir} 0700 postfix postfix"
];
services = let
sslCertDir = config.security.acme.certs."bogaledev.ru".directory;

View file

@ -30,7 +30,7 @@
wantedBy = [ "timers.target" ];
timerConfig = {
Persistent = true;
OnCalendar = "*-*-01 16:00:00";
OnCalendar = "*-*-01 16:00";
};
};
network-watchdog = {

View file

@ -5,6 +5,7 @@
in {
postgresqlBackup = {
enable = true;
startAt = "16:00";
compression = "zstd";
databases = [ "php" "vaultwarden" ];
};
@ -19,7 +20,6 @@
phpfpm.pools.php = {
user = "php";
group = "php";
phpEnv = { PATH = "/run/current-system/sw/bin"; };
settings = {
"pm" = "ondemand";
"pm.max_children" = 4;
@ -48,6 +48,7 @@
dump = {
enable = true;
type = "tar.zst";
interval = "16:00";
};
settings = {
service = {