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