tv: add krops config
This commit is contained in:
parent
df809dca51
commit
66df776c74
22
tv/krops.nix
Normal file
22
tv/krops.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ name }: rec {
|
||||
|
||||
inherit (import ../krebs/krops.nix { inherit name; })
|
||||
krebs-source
|
||||
lib
|
||||
pkgs
|
||||
;
|
||||
|
||||
source = lib.evalSource [
|
||||
krebs-source
|
||||
{
|
||||
nixos-config.symlink = "stockholm/tv/1systems/${name}/config.nix";
|
||||
secrets.file = toString ./dummy_secrets;
|
||||
}
|
||||
];
|
||||
|
||||
# usage: $(nix-build --no-out-link --argstr name HOSTNAME --argstr target PATH -A test)
|
||||
test = { target }: pkgs.krops.writeTest "tv-krops-${name}-ci" {
|
||||
inherit source target;
|
||||
};
|
||||
|
||||
}
|
Loading…
Reference in a new issue