diff --git a/flake.lock b/flake.lock index 57ce1f3..9b72f92 100644 --- a/flake.lock +++ b/flake.lock @@ -411,11 +411,11 @@ ] }, "locked": { - "lastModified": 1757364612, - "narHash": "sha256-6MSqlWHH15qbWbvS9b6OTGdtIkW6GVb9SSLkEYAMdDw=", + "lastModified": 1757627777, + "narHash": "sha256-NGUqHQ+/BaUhjgSYQauTihTtNyhhnQRMJ8t7ZSPNpmk=", "ref": "refs/heads/main", - "rev": "cb758d9bc97baa11e80a048e666c99986cabed43", - "revCount": 6, + "rev": "b7b0f0d5191433bca1377f7d818b800627a83fda", + "revCount": 9, "type": "git", "url": "https://git.clerie.de/clerie/mu5001tool.git" }, @@ -666,11 +666,11 @@ }, "nixpkgs_5": { "locked": { - "lastModified": 1757347588, - "narHash": "sha256-tLdkkC6XnsY9EOZW9TlpesTclELy8W7lL2ClL+nma8o=", + "lastModified": 1757487488, + "narHash": "sha256-zwE/e7CuPJUWKdvvTCB7iunV4E/+G0lKfv4kk/5Izdg=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "b599843bad24621dcaa5ab60dac98f9b0eb1cabe", + "rev": "ab0f3607a6c7486ea22229b92ed2d355f1482ee0", "type": "github" }, "original": { 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