summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2021-02-20 20:40:06 -0500
committerKjetil Orbekk <kj@orbekk.com>2021-02-20 20:40:06 -0500
commitda90af5fa0bc6078b98aa60e23cb44ff9c6f4272 (patch)
tree4945eb2ccaf60f21179e622489e45fc15b83a66d /flake.nix
parent233cc970b3f9104ddaea4a3e1046df7038fba5ff (diff)
Upgrade from flake
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix3
1 files changed, 2 insertions, 1 deletions
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 = [