refactor outputs.nix

Splits everything into separate files.
This commit is contained in:
Tim Schubert 2022-08-15 19:33:27 +02:00
parent afb2ca459e
commit 5b97801911
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA
7 changed files with 83 additions and 73 deletions

View file

@ -1,9 +1,8 @@
# TODO refactor adapterModule and redundant module config
{ self
, admins
, agenixModule
, agenix
, nixpkgs
, nixosSystem
, home-manager
, homePage
, nixos-hardware
@ -11,9 +10,11 @@
, scripts
, recipemd
, secretsPath
,
, ...
}:
let
nixosSystem = nixpkgs.lib.nixosSystem;
agenixModule = agenix.nixosModule;
adapterModule = system: {
nixpkgs.config.allowUnfreePredicate = pkg: true;
nixpkgs.overlays =