Update ingressToothpick to new Nix integration

Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
Magic_RB 2023-07-10 23:37:54 +02:00
parent f0cf4e1a54
commit 449e73fdba
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E
2 changed files with 6 additions and 1 deletions

View file

@ -1,4 +1,4 @@
{ elib, secret, vars, ... }:
{ elib, secret, vars, config', ... }:
let
inherit (elib)
nfsVolume
@ -18,6 +18,7 @@ in
vars = {
flake_ref = "${vars.flake_host}?rev=${vars.flake_rev}&ref=${vars.flake_ref}";
flake_sha = vars.flake_sha;
store_path = config'.flake.nixngConfigurations.ingressToothpick.config.system.build.toplevel;
upstreams = "\${file(\"${./upstreams.conf}\")}";
};
};

View file

@ -6,6 +6,10 @@ variable "flake_sha" {
type = string
}
variable "store_path" {
type = string
}
variable "upstreams" {
type = string
}