Make nixpkgs that is used for machine configurable

This allows a machine to run off a different nixpkgs branch (e.g.
unstable).
This commit is contained in:
Simon Bruder 2021-09-08 20:04:24 +02:00
parent 9deb6c5656
commit 65aff69a90
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -159,6 +159,7 @@
, extraModules ? [ ] , extraModules ? [ ]
, targetHost ? hostname , targetHost ? hostname
, unlockOverV4 ? true , unlockOverV4 ? true
, nixpkgs ? inputs.nixpkgs
}: nixpkgs.lib.nixosSystem rec { }: nixpkgs.lib.nixosSystem rec {
inherit system; inherit system;