From fe23a05bcee5be0fd9a3ae1b943297311e7ff89e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sat, 25 Mar 2023 21:43:18 +0100 Subject: nixos: include configuration revision in the system --- nixos/configurations.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'nixos') diff --git a/nixos/configurations.nix b/nixos/configurations.nix index b96b0f6..31338e5 100644 --- a/nixos/configurations.nix +++ b/nixos/configurations.nix @@ -15,6 +15,7 @@ with nixpkgs.lib; let self.overlays.default sterm.overlay ]; + system.configurationRevision = self.rev or "dirty"; } ] ++ (optional (hasAttr "machine-${hostname}" self.nixosModules) self.nixosModules."machine-${hostname}"); -- cgit v1.2.3