flake: bump

This commit is contained in:
Guanran Wang 2024-10-26 15:42:14 +08:00
parent ca62fbffa3
commit 2048d71455
Signed by: nyancat
GPG key ID: 91F97D9ED12639CF
3 changed files with 14 additions and 12 deletions

View file

@ -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": {

View file

@ -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"

View file

@ -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;
};
}
];