update to 24.20.2
This commit is contained in:
@@ -92,8 +92,11 @@ pkgs.callPackage ../buildOpenwrt.nix {
|
||||
build an image with:
|
||||
|
||||
```sh
|
||||
# nix-shell <path_to_device_file>.nix --run makeCleanImage
|
||||
nix-shell devices/pi-img.nix --run makeCleanImage
|
||||
# load nixe alias for `nix --experimental-features "nix-command flakes"`
|
||||
. alias.sh
|
||||
|
||||
# nix run <path_to_device_file>.nix
|
||||
nixe run . devices/pi-img.nix
|
||||
```
|
||||
|
||||
For more example see `devices` folder.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
pkgs.callPackage ../buildOpenwrt.nix {
|
||||
target = "mvebu";
|
||||
arch = "cortexa9";
|
||||
version= "24.10.0";
|
||||
version= "24.10.2";
|
||||
profile = "linksys_wrt1200ac";
|
||||
packages = [
|
||||
"adblock"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
pkgs.callPackage ../buildOpenwrt.nix {
|
||||
target = "bcm27xx";
|
||||
arch = "bcm2708";
|
||||
version= "24.10.0";
|
||||
version= "24.10.2";
|
||||
profile = "rpi";
|
||||
packages = ["luci-ssl"];
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
description = "NOIBW - Nix-Openwrt-ImageBuilder-Wrapper";
|
||||
inputs.nixpkgs.url = "nixpkgs/nixos-24.11";
|
||||
inputs.nixpkgs.url = "nixpkgs/nixos-25.05";
|
||||
|
||||
outputs = { self, nixpkgs }:
|
||||
let
|
||||
@@ -18,7 +18,7 @@
|
||||
});
|
||||
appScripts = forAllSystems (system:
|
||||
{
|
||||
makeCleanImageScript = nixpkgsFor.${system}.writeScript "makeCleanImage.sh" ''
|
||||
makeCleanImageScript = nixpkgsFor.${system}.writers.writeBash "makeCleanImage.sh" ''
|
||||
nix-shell "$1" --run makeCleanImage
|
||||
'';
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user