clan-cli: add simple flash command

This commit is contained in:
lassulus
2024-02-07 05:24:43 +01:00
parent bffaa9081a
commit bbc28a6262
5 changed files with 159 additions and 2 deletions

View File

@@ -69,6 +69,12 @@
json metadata about the vm
'';
};
iso = lib.mkOption {
type = lib.types.path;
description = ''
A generated iso of the machine for the flash command
'';
};
};
};
description = ''
@@ -84,6 +90,5 @@
inherit (config.clanCore) secretsUploadDirectory;
};
system.clan.deployment.file = pkgs.writeText "deployment.json" (builtins.toJSON config.system.clan.deployment.data);
};
}