aboutsummaryrefslogtreecommitdiff
path: root/lib/default.nix
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-04-20 12:11:12 +0200
committerKarel Kočí <cynerd@email.cz>2022-04-20 12:11:12 +0200
commit22b1fcfeb53e0f712315c8008c8be9500832f6f7 (patch)
treecb22853d6106ba916a88aa948263a570a374d68b /lib/default.nix
parent94f863d84acb5340c3c999f1fa06678f7a5df9f5 (diff)
downloadnixturris-22b1fcfeb53e0f712315c8008c8be9500832f6f7.tar.gz
nixturris-22b1fcfeb53e0f712315c8008c8be9500832f6f7.tar.bz2
nixturris-22b1fcfeb53e0f712315c8008c8be9500832f6f7.zip
flake: allow access to the tarball nixos configuration
This way it is possible to access the nixos config and packages for boards with ease.
Diffstat (limited to 'lib/default.nix')
-rw-r--r--lib/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/default.nix b/lib/default.nix
index 163e06b..5627879 100644
--- a/lib/default.nix
+++ b/lib/default.nix
@@ -46,4 +46,8 @@
};
});
+ nixturrisTarballSystem = {...} @args: (nixturrisSystem ({
+ modules = [ (import ../tarball.nix args.board) ];
+ } // args));
+
}