From 0978a2e8f59ae7cdf88ab5fe11b7d09b0c7576c0 Mon Sep 17 00:00:00 2001 From: albert Date: Fri, 14 Jun 2024 10:38:55 +0900 Subject: [PATCH] Testing --- nixos/common/desktops/plasma6/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos/common/desktops/plasma6/default.nix b/nixos/common/desktops/plasma6/default.nix index ff458399..0b9e4ebc 100644 --- a/nixos/common/desktops/plasma6/default.nix +++ b/nixos/common/desktops/plasma6/default.nix @@ -33,11 +33,11 @@ systemd.user.services = { "get-theme-times" = { enable = true; - path = [ pkgs.curl ]; + path = [ pkgs.curl pkgs.fx ]; script = '' echo "Activating get-theme-times systemd service" - curl -s wttr.in/Kyoto?format=%S > /tmp/wttr.sunrise - curl -s wttr.in/Kyoto?format=%s > /tmp/wttr.sunset + curl -s "https://api.sunrise-sunset.org/json?lat=35.680&lng=135.03" | fx .results.sunrise > /tmp/wttr.sunrise + curl -s "https://api.sunrise-sunset.org/json?lat=35.680&lng=135.03" | fx .results.sunset > /tmp/wttr.sunset echo "get-theme-times - complete" ''; after = [ "networking-online.target" ];