mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 00:57:22 +01:00
20 lines
526 B
Nix
20 lines
526 B
Nix
{ lib, ... }:
|
|
{
|
|
options = {
|
|
node = {
|
|
secretsDir = lib.mkOption {
|
|
description = "Path to the secrets directory for this node.";
|
|
type = lib.types.path;
|
|
default = ./.;
|
|
};
|
|
name = lib.mkOption {
|
|
description = "Node Name.";
|
|
type = lib.types.str;
|
|
};
|
|
lockFromBootstrapping = lib.mkOption {
|
|
description = "Whether this host should be marked to not be bootstrapped again using swarsel-bootstrap.";
|
|
type = lib.types.bool;
|
|
};
|
|
};
|
|
};
|
|
}
|