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:
parent
4d481118f2
commit
d947bec2be
@ -7,7 +7,7 @@
|
|||||||
extraModules = if args ? extraModules then args.extraModules else [ ];
|
extraModules = if args ? extraModules then args.extraModules else [ ];
|
||||||
extraOverlays = if args ? extraOverlays then args.extraOverlays else [ ];
|
extraOverlays = if args ? extraOverlays then args.extraOverlays else [ ];
|
||||||
pkgs = flakes.nixpkgs;
|
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
|
in
|
||||||
{
|
{
|
||||||
inherit name;
|
inherit name;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user