nixos/modules/info/users.nix

21 lines
459 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 agenix contenant le mot de passe root.";
};
};
};
}