16 lines
246 B
Nix
16 lines
246 B
Nix
{
|
|
user ? throw "user argument is required",
|
|
home ? throw "home argument is required",
|
|
}:
|
|
{ pkgs, ... }:
|
|
{
|
|
home-manager.users.${user}.home.packages = with pkgs; [
|
|
iproute2
|
|
iptables
|
|
ipset
|
|
ethtool
|
|
tcpdump
|
|
ipcalc
|
|
];
|
|
}
|