1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00
Files
niveum/configs/version.nix

6 lines
153 B
Nix
Raw Normal View History

2019-11-30 13:43:34 +01:00
{ lib, config, ... }:
2020-06-10 17:37:25 +02:00
let inherit (lib.sources) commitIdFromGitRepo;
in {
2019-11-30 13:43:34 +01:00
environment.etc."niveum/version".text = commitIdFromGitRepo <niveum/.git>;
2019-11-30 13:38:56 +01:00
}