diff --git a/nixosModules/essentials/systemd-routine.nix b/nixosModules/essentials/systemd-routine.nix index 7912687..fcb068c 100644 --- a/nixosModules/essentials/systemd-routine.nix +++ b/nixosModules/essentials/systemd-routine.nix @@ -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; + }; }; }; } - diff --git a/nixosModules/server/nextcloud.nix b/nixosModules/server/nextcloud.nix index 8c1f071..8c76f7b 100755 --- a/nixosModules/server/nextcloud.nix +++ b/nixosModules/server/nextcloud.nix @@ -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" + ]; }; }; };