forked from zentralwerk/network
Add more packages, speedtest-cli on upstreams
This commit is contained in:
parent
334b9f1f8e
commit
ec5bed6e65
|
@ -1,4 +1,4 @@
|
||||||
{ config, lib, modulesPath, ... }:
|
{ config, lib, modulesPath, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
|
|
@ -52,6 +52,10 @@ in
|
||||||
'';
|
'';
|
||||||
}) upstreamInterfaces;
|
}) upstreamInterfaces;
|
||||||
|
|
||||||
|
environment.systemPackages = lib.optionals enabled [
|
||||||
|
pkgs.speedtest-cli
|
||||||
|
];
|
||||||
|
|
||||||
networking.nat = lib.optionalAttrs enabled {
|
networking.nat = lib.optionalAttrs enabled {
|
||||||
enable = true;
|
enable = true;
|
||||||
internalInterfaces = [ "core" ];
|
internalInterfaces = [ "core" ];
|
||||||
|
|
|
@ -31,12 +31,25 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
vim screen git wget psmisc
|
bmon
|
||||||
ethtool tcpdump iputils
|
bridge-utils
|
||||||
mtr traceroute
|
conntrack-tools
|
||||||
iptables bridge-utils conntrack-tools
|
|
||||||
bmon iftop speedtest-cli
|
|
||||||
dhcpcd
|
dhcpcd
|
||||||
|
ethtool
|
||||||
|
git
|
||||||
|
iftop
|
||||||
|
iperf
|
||||||
|
iptables
|
||||||
|
iptraf-ng
|
||||||
|
iputils
|
||||||
|
mtr
|
||||||
|
psmisc
|
||||||
|
screen
|
||||||
|
speedtest-cli
|
||||||
|
tcpdump
|
||||||
|
traceroute
|
||||||
|
vim
|
||||||
|
wget
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = hostName;
|
networking.hostName = hostName;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user