From 00a7eee2afcd2527078ee142950d4ce0965e6a30 Mon Sep 17 00:00:00 2001 From: clerie Date: Thu, 11 Sep 2025 12:39:04 +0200 Subject: [PATCH 1/3] hosts/astatine: Update mu5001tool and restart on failure --- flake.lock | 8 ++++---- hosts/astatine/mu5001tool.nix | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/flake.lock b/flake.lock index 590bcc3..5944a2e 100644 --- a/flake.lock +++ b/flake.lock @@ -411,11 +411,11 @@ ] }, "locked": { - "lastModified": 1757364612, - "narHash": "sha256-6MSqlWHH15qbWbvS9b6OTGdtIkW6GVb9SSLkEYAMdDw=", + "lastModified": 1757584432, + "narHash": "sha256-zCCJKJDaX4w7izqMym+Z2qkcYr8aUo2d/Sgmn7jVQMA=", "ref": "refs/heads/main", - "rev": "cb758d9bc97baa11e80a048e666c99986cabed43", - "revCount": 6, + "rev": "5888a1309e5a3fe73ea6801f5c37fac87c796694", + "revCount": 7, "type": "git", "url": "https://git.clerie.de/clerie/mu5001tool.git" }, diff --git a/hosts/astatine/mu5001tool.nix b/hosts/astatine/mu5001tool.nix index 273103f..ada4072 100644 --- a/hosts/astatine/mu5001tool.nix +++ b/hosts/astatine/mu5001tool.nix @@ -7,6 +7,8 @@ serviceConfig = { DynamicUser = true; LoadCredential = "zte-hypermobile-5g-password:${config.sops.secrets."zte-hypermobile-5g-password".path}"; + Restart = "on-failure"; + RestartSec = "15s"; }; script = '' ${lib.getExe pkgs.mu5001tool} --password-file ''${CREDENTIALS_DIRECTORY}/zte-hypermobile-5g-password prometheus-exporter --listen-port 9242 From 539502cea0a5f83c44cc1ea743dc59b15bafa10a Mon Sep 17 00:00:00 2001 From: clerie Date: Fri, 12 Sep 2025 00:10:03 +0200 Subject: [PATCH 2/3] flake.lock: Update mu5001tool --- flake.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/flake.lock b/flake.lock index 5944a2e..73832b0 100644 --- a/flake.lock +++ b/flake.lock @@ -411,11 +411,11 @@ ] }, "locked": { - "lastModified": 1757584432, - "narHash": "sha256-zCCJKJDaX4w7izqMym+Z2qkcYr8aUo2d/Sgmn7jVQMA=", + "lastModified": 1757627777, + "narHash": "sha256-NGUqHQ+/BaUhjgSYQauTihTtNyhhnQRMJ8t7ZSPNpmk=", "ref": "refs/heads/main", - "rev": "5888a1309e5a3fe73ea6801f5c37fac87c796694", - "revCount": 7, + "rev": "b7b0f0d5191433bca1377f7d818b800627a83fda", + "revCount": 9, "type": "git", "url": "https://git.clerie.de/clerie/mu5001tool.git" }, From 3edafb09507673b9045db74d4281fc72781d77b8 Mon Sep 17 00:00:00 2001 From: Flake Update Bot Date: Fri, 12 Sep 2025 03:04:17 +0200 Subject: [PATCH 3/3] Update nixpkgs 2025-09-12-01-03 --- flake.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index 73832b0..9b72f92 100644 --- a/flake.lock +++ b/flake.lock @@ -666,11 +666,11 @@ }, "nixpkgs_5": { "locked": { - "lastModified": 1753549186, - "narHash": "sha256-Znl7rzuxKg/Mdm6AhimcKynM7V3YeNDIcLjBuoBcmNs=", + "lastModified": 1757487488, + "narHash": "sha256-zwE/e7CuPJUWKdvvTCB7iunV4E/+G0lKfv4kk/5Izdg=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "17f6bd177404d6d43017595c5264756764444ab8", + "rev": "ab0f3607a6c7486ea22229b92ed2d355f1482ee0", "type": "github" }, "original": {