refactor outputs.nix
Splits everything into separate files.
This commit is contained in:
parent
afb2ca459e
commit
5b97801911
7 changed files with 83 additions and 73 deletions
|
@ -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 =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue