about summary refs log tree commit diff
path: root/nix
diff options
context:
space:
mode:
authorEmile <git@emile.space>2024-06-09 00:24:03 +0200
committerEmile <git@emile.space>2024-06-09 00:24:03 +0200
commit24d1cfb8dd69a0590d6f27592659b6983a511329 (patch)
tree98cebc7a6dafd0a70beda76d4f4663ec5c0f8fec /nix
parent0b46de5554d4b5f9fd35d64c357e3ea0b750b5bf (diff)
authelia totp
Diffstat (limited to 'nix')
-rw-r--r--nix/hosts/corrino/modules/authelia.emile.space.nix10
1 files changed, 10 insertions, 0 deletions
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;
+				};
 			};
 		};
 	};