diff --git a/flake.nix b/flake.nix index 1c5da66..0e3b5d4 100644 --- a/flake.nix +++ b/flake.nix @@ -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"; };