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 = { systemd = {
services.nixos-auto-rebuild = { services.nixos-auto-rebuild = {
description = "Auto rebuild NixOS config"; description = "Auto rebuild NixOS config";
serviceConfig = { serviceConfig = {
Type = "oneshot"; Type = "oneshot";
User = "${xlib.device.username}"; User = "${xlib.device.username}";
WorkingDirectory = "/etc/nixos"; WorkingDirectory = "/etc/nixos";
ExecStart = "gp-ns"; ExecStart = "gp-ns";
}; };
}; };
timers.nixos-auto-rebuild = { timers.nixos-auto-rebuild = {
description = "Run NixOS auto rebuild at 4am daily"; description = "Run NixOS auto rebuild at 4am daily";
wantedBy = [ "timers.target" ]; wantedBy = [ "timers.target" ];
timerConfig = { timerConfig = {
OnCalendar = "*-*-* 04:00:00"; OnCalendar = "*-*-* 04:00:00";
Persistent = true; Persistent = true;
}; };
}; };
}; };
} }
+7 -2
View File
@@ -106,12 +106,17 @@ in
"localhost" "localhost"
"0.0.0.0" "0.0.0.0"
"nextcloud.zeroq.ru" "nextcloud.zeroq.ru"
"nextcloud.local" "nextcloud.local"
]; # "::1" ]; # "::1"
}; };
storage.wopi = { storage.wopi = {
"@allow" = true; "@allow" = true;
host = [ "nextcloud.zeroq.ru" "localhost" "0.0.0.0" "nextcloud.local" ]; host = [
"nextcloud.zeroq.ru"
"localhost"
"0.0.0.0"
"nextcloud.local"
];
}; };
}; };
}; };