1
0
mirror of https://github.com/kmein/niveum synced 2026-03-17 02:31:09 +01:00
Files
niveum/configs/version.nix

8 lines
155 B
Nix
Raw Normal View History

2019-11-30 13:43:34 +01:00
{ lib, config, ... }:
2019-11-30 13:38:56 +01: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
}