flake: set system.configurationRevision for all hosts
Some checks failed
Run nix flake check / flake-check (push) Failing after 10m33s

This allows nixos-exporter to read the flake's git revision.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-07 00:38:24 +01:00
parent f575dd2487
commit 138aeb9e45

View File

@@ -53,6 +53,7 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
nixpkgs.overlays = commonOverlays; nixpkgs.overlays = commonOverlays;
system.configurationRevision = self.rev or self.dirtyRev or "dirty";
} }
) )
sops-nix.nixosModules.sops sops-nix.nixosModules.sops