Skip to content

Commit

Permalink
WIP store sourceInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
steveej committed May 27, 2024
1 parent 5dc6ebd commit a16fe05
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion modules/nixos/holo-deploy.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{lib, ...}: {
{
self,
lib,
...
}: {
options = {
deployUser = lib.mkOption {
type = lib.types.str;
Expand All @@ -10,4 +14,8 @@
description = "IP addres or host name to connect to the host";
};
};

config = {
environment.etc."sourceInfo".text = builtins.toJSON self.sourceInfo;
};
}

0 comments on commit a16fe05

Please sign in to comment.