diff --git a/nixos/common/desktops/plasma6/default.nix b/nixos/common/desktops/plasma6/default.nix index 64dbaf2f..0e873e38 100644 --- a/nixos/common/desktops/plasma6/default.nix +++ b/nixos/common/desktops/plasma6/default.nix @@ -41,7 +41,7 @@ path = [ pkgs.curl ]; script = "curl wttr.in?format=j1 > /tmp/wttr.in"; after = [ "networking-online.target" ]; - serviceConfig.Type = "oneshot"; + serviceConfig.Type = "simple"; onSuccess = [ "light-theme.service" "dark-theme.service" @@ -54,7 +54,7 @@ source ~/.bashrc echo "/run/current-system/sw/bin/plasma-apply-colorscheme -platform offscreen Arc" | at `${pkgs.fx}/bin/fx /tmp/wttr.in .weather[0].astronomy[0].sunrise` ''; - serviceConfig.Type = "oneshot"; + serviceConfig.Type = "simple"; }; dark-theme = { enable = true; @@ -63,7 +63,7 @@ source ~/.bashrc echo "/run/current-system/sw/bin/plasma-apply-colorscheme -platform offscreen ArcDark" | at `${pkgs.fx}/bin/fx /tmp/wttr.in .weather[0].astronomy[0].sunset` ''; - serviceConfig.Type = "oneshot"; + serviceConfig.Type = "simple"; }; };