services: serve czsk.it from its flake, beside the container
All checks were successful
nixos / nixos (push) Successful in 22s
All checks were successful
nixos / nixos (push) Successful in 22s
czsk/czsk now exports the site and a module serving it from an nginx virtual host with its headers, gzip and caching. services runs it on :8082 next to the container on ops; no route yet. Renovate automerges its bumps like the blog's. Assisted-by: Claude:opus-5-5
This commit is contained in:
parent
cb9db0ed73
commit
0b3bb707ae
4 changed files with 36 additions and 2 deletions
23
nixos/flake.lock
generated
23
nixos/flake.lock
generated
|
|
@ -66,6 +66,28 @@
|
|||
"url": "https://git.asxp.io/asxpi/traefik-crawlers-statistics"
|
||||
}
|
||||
},
|
||||
"czsk": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1794906867,
|
||||
"narHash": "sha256-lVrw6Zg9SCCC+4PVW2MvW+Y70BaNFI72z0hrJqb2G4A=",
|
||||
"ref": "main",
|
||||
"rev": "d24430751079c1df91f60694ddfac2664d679f88",
|
||||
"revCount": 93,
|
||||
"type": "git",
|
||||
"url": "https://git.asxp.io/czsk/czsk"
|
||||
},
|
||||
"original": {
|
||||
"ref": "main",
|
||||
"rev": "d24430751079c1df91f60694ddfac2664d679f88",
|
||||
"type": "git",
|
||||
"url": "https://git.asxp.io/czsk/czsk"
|
||||
}
|
||||
},
|
||||
"flake-compat": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
|
|
@ -119,6 +141,7 @@
|
|||
"blog": "blog",
|
||||
"comin": "comin",
|
||||
"crawler-alert": "crawler-alert",
|
||||
"czsk": "czsk",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||
"sops-nix": "sops-nix"
|
||||
|
|
|
|||
|
|
@ -22,6 +22,10 @@
|
|||
url = "git+https://git.asxp.io/asxpi/blog?ref=main&rev=bbd489cc1dec05e1d52a86aeb9eff27080eece51";
|
||||
inputs.nixpkgs.follows = "nixpkgs-unstable"; # only HTML ships
|
||||
};
|
||||
czsk = {
|
||||
url = "git+https://git.asxp.io/czsk/czsk?ref=main&rev=d24430751079c1df91f60694ddfac2664d679f88";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
# services.crawler-alert (hosts/asxpio-ops/crawler.nix)
|
||||
crawler-alert = {
|
||||
url = "git+https://git.asxp.io/asxpi/traefik-crawlers-statistics?ref=main";
|
||||
|
|
@ -37,6 +41,7 @@
|
|||
comin,
|
||||
crawler-alert,
|
||||
blog,
|
||||
czsk,
|
||||
...
|
||||
}:
|
||||
let
|
||||
|
|
@ -90,6 +95,7 @@
|
|||
asxpio-services = mkHost [
|
||||
./hosts/asxpio-services
|
||||
blog.nixosModules.default
|
||||
czsk.nixosModules.default
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -8,6 +8,10 @@
|
|||
services.nginx.enableReload = true;
|
||||
|
||||
services.blog.enable = true; # :8081
|
||||
services.czsk.enable = true; # :8082
|
||||
|
||||
asxpio.security.ports = [ "tcp/8081/nginx" ];
|
||||
asxpio.security.ports = [
|
||||
"tcp/8081/nginx"
|
||||
"tcp/8082/nginx"
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -33,7 +33,8 @@
|
|||
"nix"
|
||||
],
|
||||
"matchDepNames": [
|
||||
"blog"
|
||||
"blog",
|
||||
"czsk"
|
||||
],
|
||||
"automerge": true,
|
||||
"automergeType": "branch"
|
||||
|
|
|
|||
Loading…
Reference in a new issue