1
0
mirror of https://github.com/ellmau/nixos.git synced 2025-12-19 09:29:36 +01:00

added optional configuration override for default.nix

Signed-off-by: Stefan Ellmauthaler <stefan.ellmauthaler@tu-dresden.de>
This commit is contained in:
Stefan Ellmauthaler 2021-11-06 22:09:08 +01:00
parent 4d481118f2
commit d947bec2be

View File

@ -7,7 +7,7 @@
extraModules = if args ? extraModules then args.extraModules else [ ];
extraOverlays = if args ? extraOverlays then args.extraOverlays else [ ];
pkgs = flakes.nixpkgs;
configuration = import ./configuration.nix {inherit extraOverlays system pkgs name flakes flakeOutputs;} ;
configuration = if args ? configuration then args.configuration else import ./configuration.nix {inherit extraOverlays system pkgs name flakes flakeOutputs;} ;
in
{
inherit name;