diff options
author | Karel Kočí <cynerd@email.cz> | 2022-04-26 13:54:42 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2022-05-01 16:41:18 +0200 |
commit | c385cc1c05efd2d44a02fd729a6a0241adf9004c (patch) | |
tree | 3bdf062805ad87c38e7ddca13e319b1be8324257 /lib | |
parent | 22b1fcfeb53e0f712315c8008c8be9500832f6f7 (diff) | |
download | nixturris-c385cc1c05efd2d44a02fd729a6a0241adf9004c.tar.gz nixturris-c385cc1c05efd2d44a02fd729a6a0241adf9004c.tar.bz2 nixturris-c385cc1c05efd2d44a02fd729a6a0241adf9004c.zip |
Switch to unstable
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; |