From da90af5fa0bc6078b98aa60e23cb44ff9c6f4272 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Sat, 20 Feb 2021 20:40:06 -0500 Subject: Upgrade from flake --- flake.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index b23398a..e92c25b 100644 --- a/flake.nix +++ b/flake.nix @@ -15,7 +15,8 @@ ({config, pkgs, ...}: { # Let 'nixos-version --json' know about the Git revision # of this flake. - system.configurationRevision = nixpkgs.lib.mkIf (self ? rev) self.rev; + system.configurationRevision = + if self ? rev then self.rev else "DIRTY"; # Add unstable packages. nixpkgs.overlays = [ -- cgit v1.2.3