hardware rewrite
This commit is contained in:
parent
46c2e595fe
commit
4dd5416eb6
9 changed files with 40 additions and 52 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
wantedBy = [ "timers.target" ];
|
||||
timerConfig = {
|
||||
Persistent = true;
|
||||
OnCalendar = "*-*-01 16:00:00";
|
||||
OnCalendar = "*-*-01 16:00";
|
||||
};
|
||||
};
|
||||
network-watchdog = {
|
||||
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue