Skip to content
Snippets Groups Projects
Commit 29afdc5c authored by Jens Nolte's avatar Jens Nolte
Browse files

Create parameterized top-level entry point

parent 81275441
No related branches found
No related tags found
No related merge requests found
# This is the entry point for my NixOS configuration.
{ layers ? [] }:
{ lib, config, pkgs, ... }:
let
layerImports = map (l: ./layers + "/${l}.nix") layers;
in
{
imports = [
./modules
];
] ++ layerImports;
nixpkgs.config = {
packageOverrides = ( import ./pkgs ) { inherit lib config; } ;
......
......@@ -4,7 +4,6 @@
{
imports = [
./..
./zsh.nix
];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment