aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/default.nix13
1 files changed, 2 insertions, 11 deletions
diff --git a/lib/default.nix b/lib/default.nix
index 211451e..1136741 100644
--- a/lib/default.nix
+++ b/lib/default.nix
@@ -16,18 +16,13 @@
nixturrisSystem = {
board,
nixpkgs ? nixpkgsDefault,
- system ? boardSystem.${board}.system,
modules ? [],
override ? {}
}: nixpkgs.lib.nixosSystem ({
- system = system;
+ system = boardSystem.${board}.system;
modules = [
self.nixosModules.default
- ({
- turris.board = board;
- } // nixpkgs.lib.optionalAttrs (system != boardSystem.${board}.system) {
- nixpkgs.crossSystem = boardSystem.${board};
- })
+ { turris.board = board; }
] ++ modules;
} // override);
@@ -45,8 +40,4 @@
};
});
- nixturrisTarballSystem = {...} @args: (nixturrisSystem ({
- modules = [ (import ../tarball.nix args.board) ];
- } // args));
-
}