diff options
author | Franck Cuny <franck@fcuny.net> | 2022-04-05 19:31:27 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-04-05 19:31:27 -0700 |
commit | 4f5ccfb7924820cf0bb51a1f5f6a8697cebd58da (patch) | |
tree | 8a7ad0ec1c744733c6db40f824734851286fb15c /modules | |
parent | move locale configuration to a module (diff) | |
download | world-4f5ccfb7924820cf0bb51a1f5f6a8697cebd58da.tar.gz |
refactor default packages to a module
Diffstat (limited to 'modules')
-rw-r--r-- | modules/system/packages/default.nix | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/modules/system/packages/default.nix b/modules/system/packages/default.nix new file mode 100644 index 0000000..49d7920 --- /dev/null +++ b/modules/system/packages/default.nix @@ -0,0 +1,49 @@ +# Common packages +{ config, lib, pkgs, ... }: +with lib; +let linuxpkgs = config.boot.kernelPackages; +in { + + # It's always useful to have bash around + environment.shells = with pkgs; [ bashInteractive ]; + + environment.systemPackages = with pkgs; [ + binutils + cacert + curl + dmidecode + ethtool + flameGraph + git + htop + hwdata + iftop + iptraf-ng + linuxpkgs.perf + lm_sensors + lsb-release + lsof + man-pages + mg + mtr + openssl + openssl + parted + pciutils + perf-tools + powertop + rsync + sqlite + strace + tcpdump + tmux + traceroute + unzip + usbutils + vim + wget + wireguard + ]; + + programs.bcc.enable = true; +} |