flake: add authentik input and module

This commit is contained in:
Lgmrszd 2024-05-16 16:43:14 +03:00
parent 795c94c9b3
commit 5cebfd5f51
No known key found for this signature in database
GPG key ID: 9396B8BA6FBB14DE

View file

@ -7,6 +7,8 @@
# fresh - mostly desktop apps
nixpkgs-fresh.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-23.11";
flake-parts.url = "github:hercules-ci/flake-parts";
flake-compat.url = "github:edolstra/flake-compat";
systems.url = "github:nix-systems/default";
flake-utils = {
@ -29,6 +31,11 @@
inputs.utils.follows = "flake-utils";
inputs.nixpkgs.follows = "nixpkgs";
};
authentik-nix = {
url = "github:nix-community/authentik-nix";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-parts.follows = "flake-parts";
};
};
outputs = inputs@{
@ -38,6 +45,7 @@
home-manager,
sops-nix,
mailserver,
authentik-nix,
...
}:
let
@ -91,6 +99,7 @@
modules = [
({ config, pkgs, ... }: { nixpkgs.overlays = my-overlays; })
mailserver.nixosModule
authentik-nix.nixosModules.default
./hosts/vps1/configuration.nix
./hosts/vps1/hardware-configuration.nix
sops-nix.nixosModules.sops