authelia: auth redlib

This commit is contained in:
cy 2025-04-02 15:07:08 -04:00
parent 9bab705962
commit f894fdb61c
Signed by: cy
SSH key fingerprint: SHA256:o/geVWV4om1QhUSkKvDQeW/eAihwnjyXkqMwrVdbuts
3 changed files with 21 additions and 1 deletions

View file

@ -35,7 +35,7 @@ in
default_policy = "deny";
rules = [
{
domain = "red.cy7.sh";
domain = "*.cy7.sh";
policy = "one_factor";
}
];

19
modules/vault.nix Normal file
View file

@ -0,0 +1,19 @@
{
config,
lib,
...
}:
let
cfg = config.my.vault;
in
{
options.my.vault = {
enable = lib.mkEnableOption "hashicorp vault";
};
config = lib.mkIf cfg.enable {
services.vault = {
};
};
}