flake: bump
This commit is contained in:
parent
ca62fbffa3
commit
2048d71455
3 changed files with 14 additions and 12 deletions
20
flake.lock
20
flake.lock
|
@ -146,11 +146,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1729844616,
|
"lastModified": 1729894599,
|
||||||
"narHash": "sha256-LZdokf9Xave80URxsHAZehogjC16dDPBZb285hh5OAM=",
|
"narHash": "sha256-nL9nzNE5/re/P+zOv7NX6bRm5e+DeS1HIufQUJ01w20=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "5feb9dba3cc095cd0d5d0d34a39dbee9cc469530",
|
"rev": "93435d27d250fa986bfec6b2ff263161ff8288cb",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -175,11 +175,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1729861979,
|
"lastModified": 1729928242,
|
||||||
"narHash": "sha256-KmqB/9N5cub85vYX39FVSRnQfq3HrObbO/UcoLuKxt4=",
|
"narHash": "sha256-UntK1lFmnbSkyYRoBBPKUqP3sii2fkIfDfvveWow2WY=",
|
||||||
"rev": "f12b0561073ea546a3f560621b242d9f0ad52d6a",
|
"rev": "36fe7b5e15a7f0c0e1cee320d9c92352a137bf23",
|
||||||
"type": "tarball",
|
"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": {
|
"original": {
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
|
@ -339,11 +339,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1729823394,
|
"lastModified": 1729909612,
|
||||||
"narHash": "sha256-RiinJqorqSLKh1oSpiMHnBe6nQdJzE45lX6fSnAuDnI=",
|
"narHash": "sha256-eXqxxbOagphPfjPptSlv0pQONB3fH15CQ4G8uCu1BW4=",
|
||||||
"owner": "oxalica",
|
"owner": "oxalica",
|
||||||
"repo": "rust-overlay",
|
"repo": "rust-overlay",
|
||||||
"rev": "7e52e80f5faa374ad4c607d62c6d362589cb523f",
|
"rev": "17cadbc36da05e75197d082decb382a5f4208e30",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -64,6 +64,7 @@ in
|
||||||
"https://element.ny4.dev"
|
"https://element.ny4.dev"
|
||||||
"https://git.ny4.dev"
|
"https://git.ny4.dev"
|
||||||
"https://id.ny4.dev"
|
"https://id.ny4.dev"
|
||||||
|
"https://ip.ny4.dev"
|
||||||
"https://mastodon.ny4.dev"
|
"https://mastodon.ny4.dev"
|
||||||
"https://matrix.ny4.dev"
|
"https://matrix.ny4.dev"
|
||||||
"https://ntfy.ny4.dev"
|
"https://ntfy.ny4.dev"
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
port = ports.ip-checker;
|
port = ports.ip-checker;
|
||||||
|
pkgs' = inputs.ip-checker.packages.${pkgs.stdenv.hostPlatform.system};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
systemd.services."ip-checker" = {
|
systemd.services."ip-checker" = {
|
||||||
|
@ -18,7 +19,7 @@ in
|
||||||
IP_CHECKER_CITY_DB = pkgs.dbip-city-lite.mmdb;
|
IP_CHECKER_CITY_DB = pkgs.dbip-city-lite.mmdb;
|
||||||
};
|
};
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = lib.getExe inputs.ip-checker.packages.${pkgs.stdenv.hostPlatform.system}.default;
|
ExecStart = lib.getExe pkgs'.api;
|
||||||
|
|
||||||
CapabilityBoundingSet = "";
|
CapabilityBoundingSet = "";
|
||||||
DynamicUser = true;
|
DynamicUser = true;
|
||||||
|
@ -63,7 +64,7 @@ in
|
||||||
{
|
{
|
||||||
handle = lib.singleton {
|
handle = lib.singleton {
|
||||||
handler = "file_server";
|
handler = "file_server";
|
||||||
root = "${inputs.ip-checker}/ui";
|
root = pkgs'.ui;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue