From 138aeb9e450890efd7ca3be6159b1eb22256c2e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Sat, 7 Feb 2026 00:38:24 +0100 Subject: [PATCH] flake: set system.configurationRevision for all hosts This allows nixos-exporter to read the flake's git revision. Co-Authored-By: Claude Opus 4.5 --- flake.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/flake.nix b/flake.nix index 91712a2..4c68d79 100644 --- a/flake.nix +++ b/flake.nix @@ -53,6 +53,7 @@ { config, pkgs, ... }: { nixpkgs.overlays = commonOverlays; + system.configurationRevision = self.rev or self.dirtyRev or "dirty"; } ) sops-nix.nixosModules.sops