mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-25 16:08:30 +02:00
nuc: configure authentik
This commit is contained in:
parent
dacf54aa9c
commit
21da78256c
7 changed files with 287 additions and 12 deletions
|
@ -4,10 +4,11 @@
|
|||
[
|
||||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
./modules/authentik
|
||||
./modules/networks
|
||||
./modules/adguard
|
||||
./modules/backup
|
||||
./modules/keycloak
|
||||
# ./modules/keycloak
|
||||
./modules/jellyfin
|
||||
./modules/cache
|
||||
./modules/matrix
|
||||
|
|
18
hosts/nuc/modules/authentik/default.nix
Normal file
18
hosts/nuc/modules/authentik/default.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ config, ... }:
|
||||
let
|
||||
domain = "auth.${config.networking.domain}";
|
||||
in
|
||||
{
|
||||
age.secrets.authentik = {
|
||||
file = ../../../../secrets/nuc/authentik.age;
|
||||
};
|
||||
services.authentik = {
|
||||
enable = true;
|
||||
environmentFile = config.age.secrets.authentik.path;
|
||||
nginx = {
|
||||
enable = true;
|
||||
enableACME = true;
|
||||
host = domain;
|
||||
};
|
||||
};
|
||||
}
|
|
@ -23,7 +23,7 @@
|
|||
identity="rose159e@tu-dresden.de"
|
||||
password="@EDUROAM_AUTH@"
|
||||
phase2="auth=PAP"
|
||||
bssid_ignore=7c:5a:1c:02:3d:ef 82:5a:1c:02:3d:ef
|
||||
bssid_ignore=7c:5a:1c:02:3d:ef 82:5a:1c:02:3d:ef 82:5a:1c:02:3d:db
|
||||
'';
|
||||
extraConfig = ''
|
||||
scan_ssid=1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue