From a16fe050bc734b67eefc49d7c1fbc6f9f99a131c Mon Sep 17 00:00:00 2001 From: Stefan Junker Date: Mon, 27 May 2024 18:53:07 +0000 Subject: [PATCH] WIP store sourceInfo --- modules/nixos/holo-deploy.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/modules/nixos/holo-deploy.nix b/modules/nixos/holo-deploy.nix index 1bce3c67..cc31764b 100644 --- a/modules/nixos/holo-deploy.nix +++ b/modules/nixos/holo-deploy.nix @@ -1,4 +1,8 @@ -{lib, ...}: { +{ + self, + lib, + ... +}: { options = { deployUser = lib.mkOption { type = lib.types.str; @@ -10,4 +14,8 @@ description = "IP addres or host name to connect to the host"; }; }; + + config = { + environment.etc."sourceInfo".text = builtins.toJSON self.sourceInfo; + }; }