liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 4342d3403f47c87d7db35da6b944d0f0b0937b58
parent 28264febdb8345a3f3cd6bdf86dad919f480fca2
Author: Daniel Barlow <dan@telent.net>
Date:   Sun, 23 Apr 2023 12:58:51 +0100

make rotuer example build again

Diffstat:
Mexamples/rotuer.nix | 12+++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/examples/rotuer.nix b/examples/rotuer.nix @@ -31,10 +31,12 @@ in rec { }; imports = [ - ./modules/wlan.nix - ./modules/tftpboot.nix -# ./modules/flashimage.nix + ../modules/wlan.nix + ../modules/tftpboot.nix + ../modules/flashimage.nix + ../modules/jffs2.nix ]; + rootfsType = "jffs2"; kernel = { config = { @@ -202,7 +204,7 @@ in rec { in oneshot { name = "let-the-ip-flow"; up = '' - ${pkgs.nftables}/bin/nft -f ${./nat.nft} + ${pkgs.nftables}/bin/nft -f ${../nat.nft} echo 1 > ${filename} ''; down = "echo 0 > ${filename}"; @@ -224,5 +226,5 @@ in rec { sshd ]; }; - defaultProfile.packages = with pkgs; [ nftables strace tcpdump ] ; + defaultProfile.packages = with pkgs; [ nftables tcpdump ] ; }