From 9914d03ba2b2631341937ef4516868fa166cdf9c Mon Sep 17 00:00:00 2001 From: Zuckerberg Date: Sun, 1 Mar 2026 19:03:47 -0800 Subject: [PATCH] Embed flake git revision in NixOS configuration --- flake.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flake.nix b/flake.nix index 2ec50ec..a9fb199 100644 --- a/flake.nix +++ b/flake.nix @@ -115,6 +115,8 @@ ]; networking.hostName = hostname; + # Query with: nixos-version --configuration-revision + system.configurationRevision = self.rev or self.dirtyRev or "unknown"; home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true;