From 24d1cfb8dd69a0590d6f27592659b6983a511329 Mon Sep 17 00:00:00 2001
From: Emile <git@emile.space>
Date: Sun, 9 Jun 2024 00:24:03 +0200
Subject: authelia totp

---
 nix/hosts/corrino/modules/authelia.emile.space.nix | 10 ++++++++++
 1 file changed, 10 insertions(+)

(limited to 'nix/hosts')

diff --git a/nix/hosts/corrino/modules/authelia.emile.space.nix b/nix/hosts/corrino/modules/authelia.emile.space.nix
index 8a2c62a..e96d0ca 100644
--- a/nix/hosts/corrino/modules/authelia.emile.space.nix
+++ b/nix/hosts/corrino/modules/authelia.emile.space.nix
@@ -191,6 +191,16 @@ in {
 						}
 					];
 				};
+
+				totp = {
+				  disable = false;
+				  issuer = "sso.emile.space";
+				  algorithm = "sha1";
+				  digits = 6;
+				  period = 30;
+				  skew = 1;
+				  secret_size = 32;
+				};
 			};
 		};
 	};
-- 
cgit 1.4.1