mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-25 09:36:14 +01:00
Update ingressToothpick to new Nix integration
Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
parent
f0cf4e1a54
commit
449e73fdba
|
@ -1,4 +1,4 @@
|
||||||
{ elib, secret, vars, ... }:
|
{ elib, secret, vars, config', ... }:
|
||||||
let
|
let
|
||||||
inherit (elib)
|
inherit (elib)
|
||||||
nfsVolume
|
nfsVolume
|
||||||
|
@ -18,6 +18,7 @@ in
|
||||||
vars = {
|
vars = {
|
||||||
flake_ref = "${vars.flake_host}?rev=${vars.flake_rev}&ref=${vars.flake_ref}";
|
flake_ref = "${vars.flake_host}?rev=${vars.flake_rev}&ref=${vars.flake_ref}";
|
||||||
flake_sha = vars.flake_sha;
|
flake_sha = vars.flake_sha;
|
||||||
|
store_path = config'.flake.nixngConfigurations.ingressToothpick.config.system.build.toplevel;
|
||||||
upstreams = "\${file(\"${./upstreams.conf}\")}";
|
upstreams = "\${file(\"${./upstreams.conf}\")}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -6,6 +6,10 @@ variable "flake_sha" {
|
||||||
type = string
|
type = string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "store_path" {
|
||||||
|
type = string
|
||||||
|
}
|
||||||
|
|
||||||
variable "upstreams" {
|
variable "upstreams" {
|
||||||
type = string
|
type = string
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue