lib/mkNixpkgs.nix: Add function to import nixpkgs with overlays
This commit is contained in:
@@ -17,11 +17,9 @@
|
||||
...
|
||||
}@args:
|
||||
|
||||
let
|
||||
localNixpkgs = import ../flake/nixpkgs.nix inputs;
|
||||
in inputs.nixpkgs.lib.nixosSystem ({
|
||||
inputs.nixpkgs.lib.nixosSystem ({
|
||||
system = system;
|
||||
pkgs = if pkgs != null then pkgs else localNixpkgs.${system};
|
||||
pkgs = if pkgs != null then pkgs else self.nixpkgs.${system};
|
||||
modules = [
|
||||
self.nixosModules.nixfilesInputs
|
||||
self.nixosModules.clerie
|
||||
|
Reference in New Issue
Block a user