This commit is contained in:
2025-10-06 20:15:27 +03:00
parent bb3efb7143
commit 96ada2e301
2 changed files with 16 additions and 12 deletions
+9 -10
View File
@@ -6,22 +6,21 @@
{
systemd = {
services.nixos-auto-rebuild = {
description = "Auto rebuild NixOS config";
serviceConfig = {
description = "Auto rebuild NixOS config";
serviceConfig = {
Type = "oneshot";
User = "${xlib.device.username}";
WorkingDirectory = "/etc/nixos";
ExecStart = "gp-ns";
};
};
};
timers.nixos-auto-rebuild = {
description = "Run NixOS auto rebuild at 4am daily";
wantedBy = [ "timers.target" ];
timerConfig = {
OnCalendar = "*-*-* 04:00:00";
Persistent = true;
};
description = "Run NixOS auto rebuild at 4am daily";
wantedBy = [ "timers.target" ];
timerConfig = {
OnCalendar = "*-*-* 04:00:00";
Persistent = true;
};
};
};
}
+7 -2
View File
@@ -106,12 +106,17 @@ in
"localhost"
"0.0.0.0"
"nextcloud.zeroq.ru"
"nextcloud.local"
"nextcloud.local"
]; # "::1"
};
storage.wopi = {
"@allow" = true;
host = [ "nextcloud.zeroq.ru" "localhost" "0.0.0.0" "nextcloud.local" ];
host = [
"nextcloud.zeroq.ru"
"localhost"
"0.0.0.0"
"nextcloud.local"
];
};
};
};