diff --git a/flake.lock b/flake.lock index f4d1b56..3822b35 100644 --- a/flake.lock +++ b/flake.lock @@ -146,11 +146,11 @@ ] }, "locked": { - "lastModified": 1729844616, - "narHash": "sha256-LZdokf9Xave80URxsHAZehogjC16dDPBZb285hh5OAM=", + "lastModified": 1729894599, + "narHash": "sha256-nL9nzNE5/re/P+zOv7NX6bRm5e+DeS1HIufQUJ01w20=", "owner": "nix-community", "repo": "home-manager", - "rev": "5feb9dba3cc095cd0d5d0d34a39dbee9cc469530", + "rev": "93435d27d250fa986bfec6b2ff263161ff8288cb", "type": "github" }, "original": { @@ -175,11 +175,11 @@ ] }, "locked": { - "lastModified": 1729861979, - "narHash": "sha256-KmqB/9N5cub85vYX39FVSRnQfq3HrObbO/UcoLuKxt4=", - "rev": "f12b0561073ea546a3f560621b242d9f0ad52d6a", + "lastModified": 1729928242, + "narHash": "sha256-UntK1lFmnbSkyYRoBBPKUqP3sii2fkIfDfvveWow2WY=", + "rev": "36fe7b5e15a7f0c0e1cee320d9c92352a137bf23", "type": "tarball", - "url": "https://git.ny4.dev/api/v1/repos/nyancat/ip-checker/archive/f12b0561073ea546a3f560621b242d9f0ad52d6a.tar.gz" + "url": "https://git.ny4.dev/api/v1/repos/nyancat/ip-checker/archive/36fe7b5e15a7f0c0e1cee320d9c92352a137bf23.tar.gz" }, "original": { "type": "tarball", @@ -339,11 +339,11 @@ ] }, "locked": { - "lastModified": 1729823394, - "narHash": "sha256-RiinJqorqSLKh1oSpiMHnBe6nQdJzE45lX6fSnAuDnI=", + "lastModified": 1729909612, + "narHash": "sha256-eXqxxbOagphPfjPptSlv0pQONB3fH15CQ4G8uCu1BW4=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "7e52e80f5faa374ad4c607d62c6d362589cb523f", + "rev": "17cadbc36da05e75197d082decb382a5f4208e30", "type": "github" }, "original": { diff --git a/hosts/aws/tyo0/services/prometheus.nix b/hosts/aws/tyo0/services/prometheus.nix index 87650b0..714ea4b 100644 --- a/hosts/aws/tyo0/services/prometheus.nix +++ b/hosts/aws/tyo0/services/prometheus.nix @@ -64,6 +64,7 @@ in "https://element.ny4.dev" "https://git.ny4.dev" "https://id.ny4.dev" + "https://ip.ny4.dev" "https://mastodon.ny4.dev" "https://matrix.ny4.dev" "https://ntfy.ny4.dev" diff --git a/hosts/vultr/sin0/services/ip-checker.nix b/hosts/vultr/sin0/services/ip-checker.nix index 7efd631..a3ffefe 100644 --- a/hosts/vultr/sin0/services/ip-checker.nix +++ b/hosts/vultr/sin0/services/ip-checker.nix @@ -7,6 +7,7 @@ }: let port = ports.ip-checker; + pkgs' = inputs.ip-checker.packages.${pkgs.stdenv.hostPlatform.system}; in { systemd.services."ip-checker" = { @@ -18,7 +19,7 @@ in IP_CHECKER_CITY_DB = pkgs.dbip-city-lite.mmdb; }; serviceConfig = { - ExecStart = lib.getExe inputs.ip-checker.packages.${pkgs.stdenv.hostPlatform.system}.default; + ExecStart = lib.getExe pkgs'.api; CapabilityBoundingSet = ""; DynamicUser = true; @@ -63,7 +64,7 @@ in { handle = lib.singleton { handler = "file_server"; - root = "${inputs.ip-checker}/ui"; + root = pkgs'.ui; }; } ];