aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-04-26 13:54:42 +0200
committerKarel Kočí <cynerd@email.cz>2022-05-01 16:41:18 +0200
commitc385cc1c05efd2d44a02fd729a6a0241adf9004c (patch)
tree3bdf062805ad87c38e7ddca13e319b1be8324257 /lib
parent22b1fcfeb53e0f712315c8008c8be9500832f6f7 (diff)
downloadnixturris-c385cc1c05efd2d44a02fd729a6a0241adf9004c.tar.gz
nixturris-c385cc1c05efd2d44a02fd729a6a0241adf9004c.tar.bz2
nixturris-c385cc1c05efd2d44a02fd729a6a0241adf9004c.zip
Switch to unstable
Diffstat (limited to 'lib')
-rw-r--r--lib/default.nix8
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;