diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/default.nix b/lib/default.nix index 5627879..fab13b6 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -1,4 +1,4 @@ -{ self, nixpkgs-stable }: rec { +self: rec { # Mapping of board name to the appropriate system boardSystem = { @@ -16,8 +16,8 @@ # NixOS system for specific Turris board nixturrisSystem = { board, + nixpkgs, system ? boardSystem.${board}.system, - nixpkgs ? nixpkgs-stable, modules ? [], override ? {} }: nixpkgs.lib.nixosSystem ({ @@ -35,8 +35,8 @@ # The minimalized system to decrease amount of ram needed for rebuild # TODO this does not work right now as it requires just load of work to do nixturrisMinSystem = { - nixpkgs ? nixpkgs-stable, - modules, + nixpkgs, + modules ? [], ... } @args: self.lib.nixturrisSystem (args // { nixpkgs = nixpkgs; |