Emery Hemingway
6ba2d4800f
Packages can still be excluded with the include list by prefixing with "-", this is discouraged.
19 lines
375 B
Nix
19 lines
375 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
system.profile = "avm_fritz7412";
|
|
|
|
packages.include = [ "tcpdump" "vxlan" "kmod-vxlan" ];
|
|
|
|
files = pkgs.runCommandNoCC "image-files" { } ''
|
|
mkdir -p $out/etc/uci-defaults
|
|
cat > $out/etc/uci-defaults/99-custom <<EOF
|
|
uci -q batch << EOI
|
|
set system.@system[0].hostname='testap'
|
|
commit
|
|
EOI
|
|
EOF
|
|
'';
|
|
|
|
}
|