diff --git a/flake.nix b/flake.nix index c34300e..4a19226 100644 --- a/flake.nix +++ b/flake.nix @@ -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