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,11 +1,11 @@
# let's creata a function whose only input is the kubenix package
{ kubenix ? import ../../../.. }:
{kubenix ? import ../../../..}:
# evalModules is our main entrypoint
kubenix.evalModules.${builtins.currentSystem} {
# to it, we pass a module that accepts a (different) kubenix object
module = { kubenix, ... }: {
module = {kubenix, ...}: {
# in order to define options, we need to import their definitions
imports = [ kubenix.modules.k8s ];
imports = [kubenix.modules.k8s];
# now we have full access to define Kubernetes resources
kubernetes.resources.pods = {
# "example" is the name of our pod