mirror of https://gitlab.crans.org/nounous/nixos
21 lines
456 B
Nix
21 lines
456 B
Nix
{ lib, ... }:
|
|
let
|
|
inherit (lib) mkEnableOption mkOption types;
|
|
in
|
|
{
|
|
options.users = {
|
|
ldap = {
|
|
enable = mkEnableOption "Authentification par le LDAP adm.";
|
|
};
|
|
|
|
root = {
|
|
passwordFile = mkOption {
|
|
type = types.path;
|
|
default = ../../secrets/common/root.age;
|
|
example = ../../secrets/apprentix/root.age;
|
|
description = "Fichier chiffré par age contenant le mot de passe root.";
|
|
};
|
|
};
|
|
};
|
|
}
|