mirror of
https://git.lgmrszd.xyz/Lgmrszd/nix-cfg.git
synced 2024-11-22 11:17:56 +01:00
flake: add authentik input and module
This commit is contained in:
parent
795c94c9b3
commit
5cebfd5f51
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue