diff --git a/agenix/hosts/tanker/config.nix b/agenix/hosts/tanker/config.nix index 7d0bd7f..264d9af 100644 --- a/agenix/hosts/tanker/config.nix +++ b/agenix/hosts/tanker/config.nix @@ -150,7 +150,6 @@ weewx-skin = { file = ./weewx/skin.age; - symlink = false; path = "/var/lib/weewx-weather/overlay/upper/skins/weewx-wdc/skin.conf"; owner = "weewx"; group = "weewx"; diff --git a/agenix/hosts/tanker/weewx/config.age b/agenix/hosts/tanker/weewx/config.age index f567b68..8edb100 100644 Binary files a/agenix/hosts/tanker/weewx/config.age and b/agenix/hosts/tanker/weewx/config.age differ diff --git a/agenix/hosts/tanker/weewx/skin.age b/agenix/hosts/tanker/weewx/skin.age index def31fa..beb0c9c 100644 Binary files a/agenix/hosts/tanker/weewx/skin.age and b/agenix/hosts/tanker/weewx/skin.age differ diff --git a/system/nixos/weewx.nix b/system/nixos/weewx.nix index 442d984..de1cbbe 100644 --- a/system/nixos/weewx.nix +++ b/system/nixos/weewx.nix @@ -29,6 +29,11 @@ in TZ = "Europe/Berlin"; }; + restartTriggers = [ + "${config.age.secrets.weewx-config.file}" + "${config.age.secrets.weewx-skin.file}" + ]; + serviceConfig = { WorkingDirectory = "${pkg}/home/weewx-data"; User = "weewx";