mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2026-04-14 21:29:12 +02:00
30 lines
787 B
Nix
30 lines
787 B
Nix
{ lib, ... }:
|
|
{
|
|
options = {
|
|
node = {
|
|
secretsDir = lib.mkOption {
|
|
description = "Path to the secrets directory for this node.";
|
|
type = lib.types.path;
|
|
default = ./.;
|
|
};
|
|
configDir = lib.mkOption {
|
|
description = "Path to the base directory for this node.";
|
|
type = lib.types.path;
|
|
default = ./.;
|
|
};
|
|
name = lib.mkOption {
|
|
type = lib.types.str;
|
|
};
|
|
arch = lib.mkOption {
|
|
type = lib.types.str;
|
|
};
|
|
type = lib.mkOption {
|
|
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;
|
|
};
|
|
};
|
|
};
|
|
}
|