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
|
||||
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}\")}";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -6,6 +6,10 @@ variable "flake_sha" {
|
|||
type = string
|
||||
}
|
||||
|
||||
variable "store_path" {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "upstreams" {
|
||||
type = string
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue