refactor flake

* switched from flake-utils to flake-parts
* dropped the overlay and instead populate configurable options for all
required authentik components in the module
* `nixosModule.default` is now a top-level output following the flake spec,
instead of the previously incorrect system-specific definition
This commit is contained in:
WilliButz 2023-06-28 16:39:23 +02:00
parent e584b40578
commit 6830ada44a
No known key found for this signature in database
GPG key ID: FB0513677AB15BEA
5 changed files with 91 additions and 40 deletions

View file

@ -1,5 +1,4 @@
{ pkgs
, overlays
, nixosModules
}:
let
@ -19,7 +18,6 @@ pkgs.nixosTest {
"${pkgs.path}/nixos/tests/common/user-account.nix"
"${pkgs.path}/nixos/tests/common/x11.nix"
];
nixpkgs.overlays = [ overlays.default ];
services.authentik.enable = true;