mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-15 06:30:10 +03:00
123
This commit is contained in:
@@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user