chore: improve code formatting and configuration across multiple files
The diff shows comprehensive code cleanup and formatting improvements across 18 files, including cleaner argument structures, additional package configurations, and improved formatting in the `home/terminal/software/git.nix` hook script.
This commit is contained in:
+13
-7
@@ -1,5 +1,10 @@
|
||||
{ config, lib, pkgs, inputs, ... }:
|
||||
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
# Himmelblau: Microsoft Entra ID authentication for Linux
|
||||
#
|
||||
# Authenticates Linux users against the digistate.nl Entra ID tenant.
|
||||
@@ -14,7 +19,6 @@
|
||||
# References:
|
||||
# - https://himmelblau-idm.org/docs/
|
||||
# - https://github.com/himmelblau-idm/himmelblau
|
||||
|
||||
let
|
||||
cfg = config.work.himmelblau;
|
||||
in {
|
||||
@@ -23,16 +27,18 @@ in {
|
||||
];
|
||||
|
||||
options.work.himmelblau = {
|
||||
enable = lib.mkEnableOption "Himmelblau Entra ID authentication" // {
|
||||
default = false;
|
||||
};
|
||||
enable =
|
||||
lib.mkEnableOption "Himmelblau Entra ID authentication"
|
||||
// {
|
||||
default = false;
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
services.himmelblau = {
|
||||
enable = true;
|
||||
settings = {
|
||||
domain = [ "digistate.nl" ];
|
||||
domain = ["digistate.nl"];
|
||||
# Uncomment and set to Entra ID group Object IDs or names to
|
||||
# restrict which users can authenticate:
|
||||
# pam_allow_groups = [ "ENTRA-GROUP-GUID-HERE" ];
|
||||
|
||||
Reference in New Issue
Block a user