flake: format

This commit is contained in:
Bryton Hall 2023-06-03 03:11:07 -04:00
parent eb3ec20f46
commit baa1a6c949
16 changed files with 86 additions and 72 deletions

View file

@ -1,10 +1,15 @@
{ kubenix ? import ../../../.. }:
{kubenix ? import ../../../..}:
kubenix.evalModules.${builtins.currentSystem} {
module = { kubenix, config, pkgs, ... }: {
imports = with kubenix.modules; [ k8s docker ];
module = {
kubenix,
config,
pkgs,
...
}: {
imports = with kubenix.modules; [k8s docker];
docker = {
registry.url = "docker.somewhere.io";
images.example.image = pkgs.callPackage ./image.nix { };
images.example.image = pkgs.callPackage ./image.nix {};
};
kubernetes.resources.pods.example.spec.containers = {
custom.image = config.docker.images.example.path;