mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-13 00:20:07 +01:00
switch formatting to nixpkgs-fmt
This commit is contained in:
parent
3598716c73
commit
2712e89716
65 changed files with 4839 additions and 5222 deletions
|
|
@ -1,27 +1,22 @@
|
|||
{
|
||||
name,
|
||||
config,
|
||||
lib,
|
||||
kubenix,
|
||||
...
|
||||
}:
|
||||
{ name, config, lib, kubenix, ... }:
|
||||
with lib; let
|
||||
submodule = {name, ...}: {
|
||||
imports = [kubenix.modules.submodule];
|
||||
submodule = { name, ... }: {
|
||||
imports = [ kubenix.modules.submodule ];
|
||||
|
||||
config.submodule = {
|
||||
name = "subm";
|
||||
passthru.global.${name} = "true";
|
||||
};
|
||||
};
|
||||
in {
|
||||
imports = with kubenix.modules; [test submodules];
|
||||
in
|
||||
{
|
||||
imports = with kubenix.modules; [ test submodules ];
|
||||
|
||||
options = {
|
||||
global = mkOption {
|
||||
description = "Global value";
|
||||
type = types.attrs;
|
||||
default = {};
|
||||
default = { };
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -45,11 +40,9 @@ in {
|
|||
];
|
||||
};
|
||||
|
||||
submodules.imports = [
|
||||
{
|
||||
modules = [submodule];
|
||||
}
|
||||
];
|
||||
submodules.imports = [{
|
||||
modules = [ submodule ];
|
||||
}];
|
||||
|
||||
submodules.instances.inst1 = {
|
||||
submodule = "subm";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue