diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2021-02-20 20:40:06 -0500 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2021-02-20 20:40:06 -0500 |
commit | da90af5fa0bc6078b98aa60e23cb44ff9c6f4272 (patch) | |
tree | 4945eb2ccaf60f21179e622489e45fc15b83a66d /flake.nix | |
parent | 233cc970b3f9104ddaea4a3e1046df7038fba5ff (diff) |
Upgrade from flake
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 = [ |