mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-09 07:00:21 +02:00
splitted configs in even more files
This commit is contained in:
parent
4c19ad042f
commit
fb2934c4c7
14 changed files with 371 additions and 121 deletions
|
@ -6,9 +6,9 @@ let
|
|||
sha256 = "15b9a2csd2m3vwhj3xc24nrqnj1hal60jrd69splln0ynbnd9ki4";
|
||||
};
|
||||
authentik-nix = import authentik-nix-src;
|
||||
cfg = config.authentik;
|
||||
in
|
||||
{
|
||||
|
||||
imports = [ authentik-nix.nixosModules.default ];
|
||||
|
||||
sops.secrets."authentik" = {
|
||||
|
@ -16,16 +16,25 @@ in
|
|||
format = "dotenv";
|
||||
};
|
||||
|
||||
/*
|
||||
sops.secrets.mail-server = {
|
||||
sopsFile = ./secrets/mail.json;
|
||||
format = "json";
|
||||
};
|
||||
*/
|
||||
|
||||
services.authentik = {
|
||||
enable = true;
|
||||
environmentFile = config.sops.secrets."authentik".path;
|
||||
settings = {
|
||||
email = {
|
||||
|
||||
};
|
||||
/*
|
||||
email = {
|
||||
host = config.sops.secrets.mail-server."host";
|
||||
username = config.sops.secrets.mail-server."username";
|
||||
};
|
||||
*/
|
||||
|
||||
disable_startup_analytics = true;
|
||||
|
||||
avatars = "initials";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue