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