nixos/modules/info/meta.nix

44 lines
870 B
Nix
Raw Blame History

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{ lib, ... }:
let
inherit (lib) mkOption types;
in
{
options = {
name = mkOption {
type = types.str;
description = "Nom de la machine";
};
description = mkOption {
type = types.str;
description = "Description de la machine";
};
id = mkOption {
type = types.int;
example = 135;
description = "
ID de la machine :
- < 100 machine physique
- >= 100 VM ( id de la VM dans proxmox )
";
};
isVm = mkOption {
type = types.bool;
description = "Est-ce une machine virtuelle ?";
};
isDebian = mkOption {
type = types.bool;
description = "Est-ce que c’est une machine sous Débian ?";
default = false;
};
public-ssh = mkOption {
type = types.str;
description = "Clé ssh public de la machine";
};
};
}