From 4767c534f82a1c19bc6d7d71aa09b88c9d6c6aae Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Thu, 15 Oct 2026 07:31:36 +0200 Subject: feat(common): set system.configurationRevision --- nixos/profiles/common/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'nixos/profiles') diff --git a/nixos/profiles/common/default.nix b/nixos/profiles/common/default.nix index d891879..d94db86 100644 --- a/nixos/profiles/common/default.nix +++ b/nixos/profiles/common/default.nix @@ -6,4 +6,10 @@ ./basics.nix "${sources.agenix}/modules/age.nix" ]; + + system.configurationRevision = + let + revision = builtins.getEnv "NIXOS_CONFIG_REVISION"; + in + if revision == "" then null else revision; } -- cgit v1.3.1