diff options
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 = [ |