flake: pin the blog input's commit in its URL, for Renovate
All checks were successful
nixos / nixos (push) Successful in 25s

Renovate's nix manager follows a flake input along its branch only when
the URL names a commit (rev=); without one it leaves the input to lock
file maintenance, which bumps every input at once. The blog input now
carries ref=main and the deployed rev, which Renovate moves forward.

Assisted-by: Claude:opus-5-5
This commit is contained in:
Sergei Poljanski 2026-11-17 12:44:22 +04:00
commit 17bf20cdbc
Signed by: asxpi
GPG key ID: 4F8851660FA4121B
2 changed files with 5 additions and 2 deletions

1
nixos/flake.lock generated
View file

@ -17,6 +17,7 @@
}, },
"original": { "original": {
"ref": "main", "ref": "main",
"rev": "f4c1887a42cc190f2d535eb4273f7d3533c8ef16",
"type": "git", "type": "git",
"url": "https://git.asxp.io/asxpi/blog" "url": "https://git.asxp.io/asxpi/blog"
} }

View file

@ -15,9 +15,11 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
inputs.treefmt-nix.inputs.nixpkgs.follows = "nixpkgs"; inputs.treefmt-nix.inputs.nixpkgs.follows = "nixpkgs";
}; };
# The apps, each from its own repository (hosts/asxpio-services/apps.nix) # The apps, each from its own repository (hosts/asxpio-services/apps.nix).
# ref names the branch, rev the commit deployed: Renovate moves rev
# along the branch (renovate.json); without it Renovate cannot.
blog = { blog = {
url = "git+https://git.asxp.io/asxpi/blog?ref=main"; url = "git+https://git.asxp.io/asxpi/blog?ref=main&rev=f4c1887a42cc190f2d535eb4273f7d3533c8ef16";
inputs.nixpkgs.follows = "nixpkgs-unstable"; # only HTML ships inputs.nixpkgs.follows = "nixpkgs-unstable"; # only HTML ships
}; };
# services.crawler-alert (hosts/asxpio-ops/crawler.nix) # services.crawler-alert (hosts/asxpio-ops/crawler.nix)