add authentik to Drone
This commit is contained in:
parent
f389f8344f
commit
4ec4689a3d
7 changed files with 345 additions and 75 deletions
20
modules/nixos/homeserver/authentik.nix
Normal file
20
modules/nixos/homeserver/authentik.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ inputs, config, ... }:
|
||||
|
||||
{
|
||||
imports = [ inputs.authentik-nix.nixosModules.default ];
|
||||
nix.settings = {
|
||||
substituters = [ "https://nix-community.cachix.org" ];
|
||||
trusted-public-keys = [ "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" ];
|
||||
};
|
||||
|
||||
services.authentik = {
|
||||
enable = true;
|
||||
environmentFile = config.sops.secrets."authentik/secrets.env".path;
|
||||
|
||||
settings = {
|
||||
disable_startup_analytics = true;
|
||||
disable_update_check = true;
|
||||
avatars = "initials";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue