Allow invoking uterranix with a dirty repo

Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
Magic_RB 2023-06-22 23:25:09 +02:00
parent f1844942fa
commit 990b3ee8a2
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E

View file

@ -111,8 +111,8 @@
{
_module.args.secret = lib'.loadSecrets secret;
_module.args.vars = {
flake_rev = self.rev;
flake_sha = self.narHash;
flake_rev = self.rev or (lib'.warn "No flake revision available, do not deploy containers!" "");
flake_sha = self.narHash or (lib'.warn "No flake nar hash available, do not deploy containers!" "");
flake_ref = "master";
flake_host = "git+https://git.sr.ht/~magic_rb/dotfiles-2.0";
};