Add configs for a new kubernetes cluster on NixOS.
This commit is contained in:
22
nix/kubernetes/roles/iso/default.nix
Normal file
22
nix/kubernetes/roles/iso/default.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports = [ ];
|
||||
|
||||
options.me.buildingPortable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
example = true;
|
||||
description = "Whether we are building a portable image (iso/sd). This would disable CPU-specific optimizations and persistent file mounts.";
|
||||
};
|
||||
|
||||
options.me.mountPersistence = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
example = true;
|
||||
description = "Whether we should mount persistent directories.";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user