From f45e26b8391e62218f3084dcd26fecd7958bc490 Mon Sep 17 00:00:00 2001 From: iFargle Date: Tue, 2 Jan 2024 23:06:21 +0900 Subject: [PATCH] test --- 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 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"; }; };