initial himmelblau setup
This commit is contained in:
parent
ea49206a8f
commit
a64ee9533d
4 changed files with 94 additions and 27 deletions
23
modules/system/authentication/himmelblau.nix
Normal file
23
modules/system/authentication/himmelblau.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ inputs, lib, pkgs, config, ... }: let
|
||||
inherit (lib) mkEnableOption mkIf;
|
||||
|
||||
cfg = config.modules.authentication.himmelblau;
|
||||
in
|
||||
{
|
||||
imports = [ inputs.himmelblau.nixosModules.himmelblau ];
|
||||
|
||||
options.modules.authentication.himmelblau = {
|
||||
enable = mkEnableOption "enable azure entra ID authentication";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
services.himmelblau = {
|
||||
enable = true;
|
||||
settings = {
|
||||
domains = [];
|
||||
pam_allow_groups = [];
|
||||
local_groups = [];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue