authentik: init

This commit is contained in:
Grisha Shipunov 2025-01-12 21:32:36 +01:00
parent ea46b0bb1e
commit bd44fc6fcb
12 changed files with 428 additions and 26 deletions

View file

@ -108,7 +108,7 @@
};
authentik = nixpkgs-stable.lib.nixosSystem {
system = "x84_64-linux";
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
sops-nix.nixosModules.sops
@ -117,17 +117,8 @@
./microvms/authentik
./modules/server
];
};
};
hydraJobs =
let
get-toplevel = (
host: nixSystem: nixSystem.config.microvm.declaredRunner or nixSystem.config.system.build.toplevel
);
in
nixpkgs-stable.lib.mapAttrs get-toplevel self.nixosConfigurations;
formatter.x86_64-linux = nixpkgs-stable.legacyPackages.x86_64-linux.nixfmt-rfc-style;
};
}