nixos-config/common/components/packages.nix
2024-04-22 21:24:54 +02:00

36 lines
559 B
Nix

{
pkgs,
lib,
...
}: {
# Unfree packages that can be installes regardless of whether "allow-unfree.nix" is imported
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [
# Steam
"steam"
"steam-original"
"steam-run"
# Nvidia drivers
"nvidia-x11"
"nvidia-settings"
];
environment.systemPackages = with pkgs; [
wget
dig
nmap
btop
gitFull
smartmontools
lm_sensors
pciutils
gcc
gnumake
sysstat
file
ffmpeg
usbutils
];
}